using Microsoft.EntityFrameworkCore; namespace YABA.Data.Context { public class YABAReadOnlyContext : YABABaseContext { public YABAReadOnlyContext() : base() { } public YABAReadOnlyContext(DbContextOptions options) : base(options) { ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; } } }