![]() |
VOOZH | about |
dotnet add package DuckDB.EFCore --version 1.0.3
NuGet\Install-Package DuckDB.EFCore -Version 1.0.3
<PackageReference Include="DuckDB.EFCore" Version="1.0.3" />
<PackageVersion Include="DuckDB.EFCore" Version="1.0.3" />Directory.Packages.props
<PackageReference Include="DuckDB.EFCore" />Project file
paket add DuckDB.EFCore --version 1.0.3
#r "nuget: DuckDB.EFCore, 1.0.3"
#:package DuckDB.EFCore@1.0.3
#addin nuget:?package=DuckDB.EFCore&version=1.0.3Install as a Cake Addin
#tool nuget:?package=DuckDB.EFCore&version=1.0.3Install as a Cake Tool
DuckDB provider for Entity Framework Core.
Install the DuckDB.EFCore NuGet package:
dotnet add package DuckDB.EFCore
Install-Package DuckDB.EFCore
To use DuckDB in your Entity Framework Core application, call UseDuckDB in your OnConfiguring method or when configuring your DbContext in AddDbContext.
public class MyDbContext : DbContext
{
public DbSet<Blog> Blogs { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseDuckDB("Data Source=my_database.db");
}
}
public class Blog
{
public int Id { get; set; }
public string Title { get; set; }
public string Content { get; set; }
}
builder.Services.AddDbContext<MyDbContext>(options =>
options.UseDuckDB("Data Source=my_database.db"));
This provider is built on top of the DuckDB.NET ADO.NET provider.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.