DotNetCore.EntityFrameworkCore.KingbaseES 9.0.0

dotnet add package DotNetCore.EntityFrameworkCore.KingbaseES --version 9.0.0                
NuGet\Install-Package DotNetCore.EntityFrameworkCore.KingbaseES -Version 9.0.0                
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="9.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetCore.EntityFrameworkCore.KingbaseES --version 9.0.0                
#r "nuget: DotNetCore.EntityFrameworkCore.KingbaseES, 9.0.0"                
#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=9.0.0

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

DotNetCore Entity Framework Core provider for KingbaseES for R6 V008R006C008B0014

Member project of .NET Core Community nuget stats

DotNetCore.EntityFrameworkCore.KingbaseES is an open source Entity Framework Core provider for KingbaseES. It supports you to interact with KingbaseES via EFCore, the most widely-used .NET O/RM from Microsoft, up to its latest version, and use familiar LINQ syntax to express queries.

Getting Started

1. Project Configuration

Ensure that your .csproj file contains the following reference:

<PackageReference Include="DotNetCore.EntityFrameworkCore.KingbaseES" Version="6.0.22" />

2. Services Configuration

Add DotNetCore.EntityFrameworkCore.KingbaseES to the services configuration in your the Startup.cs file of your ASP.NET Core project:

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // Replace with your connection string.
        var connectionString = "host={host};port={port};database={database};username={username};password={password};";

        // Replace 'YourDbContext' with the name of your own DbContext derived class.
        services.AddDbContext<YourDbContext>(
            dbContextOptions => dbContextOptions
                .UseKdbndp(connectionString)
        );
    }
}

3. Sample Application

Check out our Basic Test for an example repository that includes an ASP.NET Core MVC Application.

There are also many complete and concise console application samples posted in the issue section (some of them can be found by searching for Program.cs).

4. Read the EF Core Documentation

Refer to Microsoft's EF Core Documentation for detailed instructions and examples on using EF Core.

Scaffolding / Reverse Engineering

Use the EF Core tools to execute scaffolding commands:

dotnet ef dbcontext scaffold "Server=localhost;User=root;Password=1234;Database=ef" "DotNetCore.EntityFrameworkCore.KingbaseES"

Contribute

One of the easiest ways to contribute is to report issues and participate in discussions. You can also contribute by submitting pull requests with code changes and supporting tests.

We are always looking for additional core contributors. If you got a couple of hours a week and know your way around EF Core and KingbaseES, give us a nudge.

License

PostgreSQL license

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
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
9.0.0 102 12/17/2024
8.0.1 807 6/16/2024
8.0.0 480 12/24/2023
6.0.22 382 10/11/2023