DotNetCore.EntityFrameworkCore.KingbaseES 6.0.22

There is a newer version of this package available.
See the version list below for details.
dotnet add package DotNetCore.EntityFrameworkCore.KingbaseES --version 6.0.22                
NuGet\Install-Package DotNetCore.EntityFrameworkCore.KingbaseES -Version 6.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="DotNetCore.EntityFrameworkCore.KingbaseES" Version="6.0.22" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetCore.EntityFrameworkCore.KingbaseES --version 6.0.22                
#r "nuget: DotNetCore.EntityFrameworkCore.KingbaseES, 6.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 DotNetCore.EntityFrameworkCore.KingbaseES as a Cake Addin
#addin nuget:?package=DotNetCore.EntityFrameworkCore.KingbaseES&version=6.0.22

// Install DotNetCore.EntityFrameworkCore.KingbaseES as a Cake Tool
#tool nuget:?package=DotNetCore.EntityFrameworkCore.KingbaseES&version=6.0.22                

Entity Framework Core provider for KingbaseES

DotNetCore.EntityFrameworkCore.KingbaseES is the open source EF Core provider for KingbaseES. It allows you to interact with KingbaseES via the most widely-used .NET O/RM from Microsoft, and use familiar LINQ syntax to express queries. It's built on top of KingbaseES.

The provider looks and feels just like any other Entity Framework Core provider. Here's a quick sample to get you started:

await using var ctx = new BlogContext();
await ctx.Database.EnsureDeletedAsync();
await ctx.Database.EnsureCreatedAsync();

// Insert a Blog
ctx.Blogs.Add(new() { Name = "FooBlog" });
await ctx.SaveChangesAsync();

// Query all blogs who's name starts with F
var fBlogs = await ctx.Blogs.Where(b => b.Name.StartsWith("F")).ToListAsync();

public class BlogContext : DbContext
{
    public DbSet<Blog> Blogs { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        => optionsBuilder.UseKdbndp(@"Host=myserver;Username=mylogin;Password=mypass;Database=mydatabase");
}

public class Blog
{
    public int Id { get; set; }
    public string Name { get; set; }
}
Product Compatible and additional computed target framework versions.
.NET 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 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. 
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 DotNetCore.EntityFrameworkCore.KingbaseES:

Package Downloads
EaCloud.EntityFrameworkCore.Kdbndp

EaCloud Kdbndp(人大金仓) 数据库组件,封装基于 Kdbndp.EntityFrameworkCore.KingbaseES 的数据访问功能的实现。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.1 769 6/16/2024
8.0.0 438 12/24/2023
6.0.22 323 10/11/2023