We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am having problems getting this to work. Here is my EF mapping:
modelBuilder.Entity<UserProject>(entity => { entity.HasQueryFilter(p => !p.IsDeleted); });
I am using a repository pattern if that makes a difference. Here is my implementation:
var test = _rw.UserProject.FindAll().ToList();
_rw is Repository Wrapper which just exposes the DbSets of the DbContext. The FindAll() function only exposes the DbSet.
public virtual IQueryable<T> FindAll() { return _db.Set<T>(); }
Other than that I can't think of any reason why this wouldn't work but perhaps I'm missing something.
The text was updated successfully, but these errors were encountered:
Duplicate of #15264
It is available in nightly builds.
Sorry, something went wrong.
No branches or pull requests
I am having problems getting this to work. Here is my EF mapping:
I am using a repository pattern if that makes a difference. Here is my implementation:
var test = _rw.UserProject.FindAll().ToList();
_rw is Repository Wrapper which just exposes the DbSets of the DbContext. The FindAll() function only exposes the DbSet.
Other than that I can't think of any reason why this wouldn't work but perhaps I'm missing something.
The text was updated successfully, but these errors were encountered: