using Microsoft.EntityFrameworkCore; using System.Linq; namespace VOL.Core.EFDbContext { public abstract class BaseDbContext : DbContext { public BaseDbContext() { } public BaseDbContext(DbContextOptions options) : base(options) { } public IQueryable Set(bool filterDeleted) where TEntity : class { return base.Set(); } } }