public void Config(StoreModelBuilder modelBuilder) { modelBuilder.Entity <FakeEntityA>().Ignored("No"); }
public void Config(StoreModelBuilder modelBuilder) { // use soft deletion. modelBuilder.Entity <ISoftDeletion>().DirectDeletion(false); modelBuilder.Entity <ISoftDeletion>().HasQueryFilter(s => !s.IsDeleted); }
public void Config(StoreModelBuilder modelBuilder) { modelBuilder.Entity <FakeEntityA>().HasQueryFilter(s => s.Name.Equals("AAA")); }