I\'m trying to do something which should be relatively easy, but i just dont know how to construct it.
I have a Generated Entity which I\'d like to override by adding a
Try exposing DbSet and IQueryable with different names
DbSet
IQueryable
public partial class MyEntities: DbContext { public MyEntities() : base("name=MyEntities") { } public DbSet AssigneesSet { get; set; } public IQueryable Assignees { get { return AssigneesSet.Where(z => z.IsActive == true); } } }