Arebis.Core.EntityFramework
8.1.10
dotnet add package Arebis.Core.EntityFramework --version 8.1.10
NuGet\Install-Package Arebis.Core.EntityFramework -Version 8.1.10
<PackageReference Include="Arebis.Core.EntityFramework" Version="8.1.10" />
<PackageVersion Include="Arebis.Core.EntityFramework" Version="8.1.10" />
<PackageReference Include="Arebis.Core.EntityFramework" />
paket add Arebis.Core.EntityFramework --version 8.1.10
#r "nuget: Arebis.Core.EntityFramework, 8.1.10"
#:package Arebis.Core.EntityFramework@8.1.10
#addin nuget:?package=Arebis.Core.EntityFramework&version=8.1.10
#tool nuget:?package=Arebis.Core.EntityFramework&version=8.1.10
Arebis.Core.EntityFramework
.NET Core extensions for working with Entity Framework.
Extensions
dbContext.AreProxiesEnabled() - Check if proxies are enabled for the given DbContext.
dbSet.GetDbContext() - Get the DbContext for a given DbSet.
dbSet.AddNew() - Create a new entity (or proxy), add it to the DbSet and return it.
dbSet.FindOrFail() - Find an entity by primary key(s) or throw an exception if not found.
dbSet.FindOrFailAsync() - Find an entity by primary key(s) or throw an exception if not found.
entity.MarkModified() - Mark an entity as modified in the DbContext. entity must be an IContextualEntity<TDbContext>.
queryable.OrderBy() - Order a queryable by a property name or path.
orderedQueryable.ThenBy() - ThenBy a queryable by a property name or path. I.e:
invoices.OrderBy("Customer.Name ASC");
.ThenBy("Date DESC");
BaseDbContext<T>
A base class for DbContext offering extra services:
- Broader support for Data Annotations (setting default schema, mapped fields, type discriminator, converters)
- Support for Context aware entitites
- Support for intercepting entities
- Support for validation
- Support for after save actions
Includes default Converters (and Comparers) for:
- Dictionaries
- Lists
- DateOnly
- TimeOnly
- TimeSpan in Days
- TimeSpan in Hours
- TimeSpan as Ticks
- UtcDateTime
- Regex
As well as a generic JsonConverter.
(All these converters require the use of BaseDbContext<T>)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Arebis.Core (>= 8.0.6)
- Microsoft.EntityFrameworkCore (>= 8.0.21)
- Microsoft.EntityFrameworkCore.Proxies (>= 8.0.21)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.21)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.1.10 | 261 | 11/27/2025 |
| 8.1.9 | 201 | 11/27/2025 |
| 8.1.8 | 225 | 10/30/2025 |
| 8.1.7 | 261 | 10/28/2025 |
| 8.1.6 | 321 | 9/8/2025 |
| 8.1.5 | 187 | 8/1/2025 |
| 8.1.4 | 108 | 8/1/2025 |
| 8.1.3 | 573 | 7/21/2025 |
| 8.1.2 | 653 | 11/4/2024 |
| 8.1.1 | 253 | 8/3/2024 |
| 8.1.0 | 227 | 4/17/2024 |
| 8.0.7 | 229 | 3/29/2024 |
| 8.0.6 | 189 | 3/22/2024 |
| 8.0.5 | 177 | 3/22/2024 |
| 8.0.4 | 229 | 2/13/2024 |
| 8.0.3 | 168 | 2/12/2024 |
| 8.0.2 | 174 | 2/12/2024 |
| 8.0.1 | 195 | 2/9/2024 |
| 8.0.0 | 205 | 2/8/2024 |
| 1.2.0 | 286 | 5/4/2023 |
| 1.1.0 | 276 | 5/2/2023 |
| 1.0.0 | 302 | 3/21/2023 |