This library offers an implementation of the Generic Repository Pattern for Microsoft's Entity Framework Core 2.0 ORM supporting the use of OData v4 querying service protocol.
The OData part of the library offers an additional Repository implementation named ODataEfRepository
with its complementing interface type IODataEfRepository
. The OData Repository exposes several methods that allow querying an IQueryable<T>
with OData's query options where the queryable can be produced out of EF's DbSet<T>
or any other valid IQueryable<T>
. This way you can pre/post filter/select/expand EF queryable sources using OData syntax.
The library currently uses the latest Microsoft.AspnetCore.OData (7.0.0-beta2)
to provide OData services and it might be buggy as it is not a stable offical release.