EnumODataEfRepository 1.2.0
See the version list below for details.
dotnet add package EnumODataEfRepository --version 1.2.0
NuGet\Install-Package EnumODataEfRepository -Version 1.2.0
<PackageReference Include="EnumODataEfRepository" Version="1.2.0" />
paket add EnumODataEfRepository --version 1.2.0
#r "nuget: EnumODataEfRepository, 1.2.0"
// Install EnumODataEfRepository as a Cake Addin #addin nuget:?package=EnumODataEfRepository&version=1.2.0 // Install EnumODataEfRepository as a Cake Tool #tool nuget:?package=EnumODataEfRepository&version=1.2.0
An EF Core / OData - Generic Repository 🛠😵
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.
Beta dependency caution 💣
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.
Whole documentation is available at: https://gist.github.com/vmandic/b17ca389fe6d26d58f06dfae1d75e891#file-enumodataefrepository-readme-md
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.AspNetCore.OData (>= 7.0.0-beta2)
- Microsoft.EntityFrameworkCore (>= 2.0.2)
- Microsoft.Extensions.Configuration.Binder (>= 2.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Fixed issue with DbContext used twice within a single request. Refactored the UpdateForProperties method which is still buggy for more complex types (seems EFCore is still buggy). Added a utility method to IEfRepository. Updated readme.