public Repository(AggregateRootContext context) { Db = context; DbSet = context.Set <TEntity>(); DbSetReadOnly = context.Set <TEntity>().AsNoTracking(); }
public FarmAreaRepository(AggregateRootContext context) : base(context) { }