DKNet.EfCore.Relational.Helpers 13.3.1

dotnet add package DKNet.EfCore.Relational.Helpers --version 13.3.1
                    
NuGet\Install-Package DKNet.EfCore.Relational.Helpers -Version 13.3.1
                    
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="DKNet.EfCore.Relational.Helpers" Version="13.3.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DKNet.EfCore.Relational.Helpers" Version="13.3.1" />
                    
Directory.Packages.props
<PackageReference Include="DKNet.EfCore.Relational.Helpers" />
                    
Project file
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 DKNet.EfCore.Relational.Helpers --version 13.3.1
                    
#r "nuget: DKNet.EfCore.Relational.Helpers, 13.3.1"
                    
#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.
#:package DKNet.EfCore.Relational.Helpers@13.3.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DKNet.EfCore.Relational.Helpers&version=13.3.1
                    
Install as a Cake Addin
#tool nuget:?package=DKNet.EfCore.Relational.Helpers&version=13.3.1
                    
Install as a Cake Tool

DKNet.EfCore.Relational.Helpers

Relational table metadata, existence, connection and one-shot schema helpers for .NET developers writing infrastructure code.

✨ Why use it?

  • Resolve mapped table and schema names without a database round trip.
  • Ask the database catalog whether a mapped table exists without probing entity rows.
  • Use the context connection for ADO.NET or provision an empty model schema through an explicit table gate.

🚀 Quick Start

Use a .NET 10 console project. Install the package, then replace Program.cs with the example.

dotnet new console -f net10.0 -n EfCoreDemo
cd EfCoreDemo
dotnet add package DKNet.EfCore.Relational.Helpers
dotnet add package Npgsql.EntityFrameworkCore.PostgreSQL --version 10.0.3
using DKNet.EfCore.Relational.Helpers;
using Microsoft.EntityFrameworkCore;

var options = new DbContextOptionsBuilder<DemoDb>()
    .UseNpgsql("Host=localhost;Database=unused;Username=unused;Password=unused").Options;
using var db = new DemoDb(options);
Console.WriteLine(db.GetTableName<Item>()); // (, Items)

public sealed class DemoDb(DbContextOptions<DemoDb> options) : DbContext(options)
{
    public DbSet<Item> Items => Set<Item>();
}
public sealed class Item { public int Id { get; set; } }

Run with dotnet run. This metadata-only example does not connect to the placeholder endpoint.

Documentation

Guide Read when
Package overview Start with architecture and the end-to-end flow.
Resolve an entity table and schema Read the physical table name and schema from EF Core model metadata without opening a connection.
Open the context connection for ADO.NET Get the connection already associated with the DbContext, opening it when its state is Closed.
Check whether a mapped table exists Query INFORMATION_SCHEMA.TABLES using the entity mapped table and, when known, schema.
Create a model schema behind one table gate Use CreateTableAsync<TEntity> only for one-shot provisioning against an empty relational schema.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
13.3.1 90 10/26/2026
13.3.0 127 10/22/2026
13.2.8 92 10/22/2026
13.2.7 130 10/11/2026
13.2.6 91 10/10/2026
13.2.5 319 10/2/2026
13.2.4 101 10/1/2026
13.2.3 97 10/1/2026
13.2.2 95 10/1/2026
13.2.1 104 10/1/2026
13.2.0 105 10/1/2026
13.1.3 141 9/21/2026
13.1.2 366 9/18/2026
13.1.1 108 9/18/2026
13.1.0 95 9/18/2026
13.0.2 101 9/18/2026
13.0.1 110 9/18/2026
13.0.0 117 9/18/2026
12.0.0 106 9/17/2026
11.0.0 177 9/17/2026
Loading failed