n2.core.entity.abstractions
1.0.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package n2.core.entity.abstractions --version 1.0.3
NuGet\Install-Package n2.core.entity.abstractions -Version 1.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="n2.core.entity.abstractions" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add n2.core.entity.abstractions --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: n2.core.entity.abstractions, 1.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install n2.core.entity.abstractions as a Cake Addin #addin nuget:?package=n2.core.entity.abstractions&version=1.0.3 // Install n2.core.entity.abstractions as a Cake Tool #tool nuget:?package=n2.core.entity.abstractions&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
N2.Core.Entity.Abstractions
This package contains the interfaces and classes that simplify the use of a database context in a .NET Core application.
Usage
- IDbBaseModel : This interface is used to define the base properties of a model class that is used in the database context.
- IDbContext : This interface is used to define the base properties of a database context class.
- IBasicListModel : This interface is used to define the base properties of a model class that is used in the database context as a list of items.
- IChangeLog : This interface is used to define the base properties of a model class that is used in the database context as a change log.
- IConnectionStringService : Helper service to find a connection string based on the environment or user context.
- IModifiable : This interface is used to define the base properties of a model class that is used in the database context as a modifiable item.
- IDesignComponent : This interface is used to define the base functionality for a component that is used to manage a specific data model.
- ICoreDataContext : This interface is used to define the base properties of a database context class that is used to manage the core data models.
1. Create a new class that implements the IDbBaseModel
interface
2. Create a new class that implements the IDbContext
interface
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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- n2.core.abstractions (>= 1.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on n2.core.entity.abstractions:
Package | Downloads |
---|---|
n2.core.identity
Data context for identity services |
|
n2.core.entity
Library for standardized use of data contexts |
GitHub repositories
This package is not used by any popular GitHub repositories.