ova.NetCore.Common.EntityFramework.Abstraction
1.6.1.19
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package ova.NetCore.Common.EntityFramework.Abstraction --version 1.6.1.19
NuGet\Install-Package ova.NetCore.Common.EntityFramework.Abstraction -Version 1.6.1.19
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="ova.NetCore.Common.EntityFramework.Abstraction" Version="1.6.1.19" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ova.NetCore.Common.EntityFramework.Abstraction" Version="1.6.1.19" />
<PackageReference Include="ova.NetCore.Common.EntityFramework.Abstraction" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ova.NetCore.Common.EntityFramework.Abstraction --version 1.6.1.19
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ova.NetCore.Common.EntityFramework.Abstraction, 1.6.1.19"
#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.
#addin nuget:?package=ova.NetCore.Common.EntityFramework.Abstraction&version=1.6.1.19
#tool nuget:?package=ova.NetCore.Common.EntityFramework.Abstraction&version=1.6.1.19
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EntityFramework
This solution is designed for easy creation database and development of any application by ASP NetCore EntityFramework in one-context SQL infrastructure. The solution implements abstraction, infrastructure, configuration and initial levels.
The product serves for:
- implementation of entities using the IEntity and INavigation interfaces;
- building a database schema using entity configuration files;
- automatic creation of instances of entities using entity configuration files;
- creation of a new database in case of its absence;
- initialization of database tables using separate json files, if necessary.
Solution contents
- main interfaces: IEntity and INavigation;
- abstract (mustinherit) class EntityConfig;
- infrastructure's classes: AppConfigBuilder and SqlDbContext;
- initial json-files (examples).
Product use:
- install this NugetPackage to application,
- implement model entities by IEntity and INavigation interfaces in application,
- inherit EntityNameConfig class from EntityConfig,
- inherit new context from SqlDbContext if necessary (can be used directly). It is NOT necessary to create instances of entities , they will be created automatically. Attention: instances will be created for all configuration files implementing IEntityConfiguration for ALL project assemblies,
- add a global configurations variable to module Program of the application, i.e.: public IConfigurationRoot AppConfig (for VB - Public AppConfig As IConfigurationRoot),
- add configuration to sub Main of Program: var new AppConfigBuilder appconfigbuilder AppConfig = appconfigbuilder.Build; (for VB - Dim appconfibuilder As New AppConfigBuilder : AppConfig = appconfigbuilder.Build),
- you can set a new file name for settings of an appropriate parameter of the AppConfigBuilder constructor. But this is highly NOT recommended; the filename by default is "appsettings.json",
- define ConnectionString in appsettings.json,
- replace appsettings.json to BaseDirectory of application,
- to initialize a new model you can replace appropriate initial files to /initials. Filenames must match strictly the entitynames, i.e. Category.json for the Category entity,
- use the database, e.g. Using db = new SqlDbContext(AppConfig,"yourconnectionstringname").
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. 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. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- Microsoft.EntityFrameworkCore (>= 3.1.9)
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 |
---|
Release