KrapkaNet.EntityFramework.Abstractions 0.0.22

dotnet add package KrapkaNet.EntityFramework.Abstractions --version 0.0.22
NuGet\Install-Package KrapkaNet.EntityFramework.Abstractions -Version 0.0.22
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="KrapkaNet.EntityFramework.Abstractions" Version="0.0.22" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KrapkaNet.EntityFramework.Abstractions --version 0.0.22
#r "nuget: KrapkaNet.EntityFramework.Abstractions, 0.0.22"
#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 KrapkaNet.EntityFramework.Abstractions as a Cake Addin
#addin nuget:?package=KrapkaNet.EntityFramework.Abstractions&version=0.0.22

// Install KrapkaNet.EntityFramework.Abstractions as a Cake Tool
#tool nuget:?package=KrapkaNet.EntityFramework.Abstractions&version=0.0.22

ApplicationDBContext

Basing on IEntity registers Id as a Primary Key for the for Entities. Also changed naming of tables according to singular form of the entity name.

Usage

public class SomeIdentityDbContext(DbContextOptions options) : ApplicationDbContext(options)
{
    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        OnModelCreating<SomeIdentityDbContext>(modelBuilder);

        modelBuilder.Entity<User>()
            .HasIndex(b => b.UserName)
            .IsUnique();
        
        //...
    }
}
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on KrapkaNet.EntityFramework.Abstractions:

Package Downloads
KrapkaNet.DependencyInjection.Postgres

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.22 143 3/7/2024

**KrapkaNET.Data.Abstractions:**\r\nEntity classes are abstract now\r\n\r\n**KrapkaNET.Repository.Abstractions:**\r\nAsync abstractions removed as a separate interfaces\r\n\r\n**KrapkaNET.Repository.EntityFramework:**\r\nAsync implementation added