Breeze JS - Repository with EFContextProvider, enabling/disabling OData filtering
问题 I'm looking to implement a repository pattern with breeze EFContextProvider. In this repository, I would expose a method to query the DB using OData filtering... just as breeze behaves by default. I would also want to expose a method that would ignore OData filtering, and return a list of elements as if it was the default EF Context. So, to sum up, my idea would be to try to do something like this: public class RepositoryBaseEntity<T> : IRepository<T> where T : class { protected Breeze.WebApi