EFCore.Snowflake 8.0.2-preview.1

This is a prerelease version of EFCore.Snowflake.
There is a newer version of this package available.
See the version list below for details.
dotnet add package EFCore.Snowflake --version 8.0.2-preview.1
                    
NuGet\Install-Package EFCore.Snowflake -Version 8.0.2-preview.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="EFCore.Snowflake" Version="8.0.2-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EFCore.Snowflake" Version="8.0.2-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="EFCore.Snowflake" />
                    
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 EFCore.Snowflake --version 8.0.2-preview.1
                    
#r "nuget: EFCore.Snowflake, 8.0.2-preview.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 EFCore.Snowflake@8.0.2-preview.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=EFCore.Snowflake&version=8.0.2-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EFCore.Snowflake&version=8.0.2-preview.1&prerelease
                    
Install as a Cake Tool

About

EntityFrameworkCore.Snowflake is the Entity Framework Core (EF Core) provider for Snowflake.

It is build on top of Snowflake.Data.

How to Use

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // Replace with your connection string.
        var connectionString = "account=YOUR_ACCOUNT;host=UR_HOST.us-east-1.snowflakecomputing.com;user=UR_USER;password=UR_PASSWORD;db=TESTDB;schema=PUBLIC;warehouse=UR_WAREHOUSE";

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

Key Features

  • Query support
  • Auto increment
  • Scaffolding support
  • Database versioning support

Known issues

  • Spatial types not supported
  • Variant type inserts data with json escaping (bug in Snowflake.Data connector)
  • Database name is required to be named UPPERCASE (bug in Snowflake.Data)
  • More advanced queries, such as LEFT LATERAL JOIN or more complex subqueries fails, because they are not supported by Snowflake right now

License

EntityFrameworkCore.Snowflake is released as open source under the GNU Lesser General Public License v3.0 only.

Feedback

Bug reports and contributions are welcome at GitHub repository.

Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  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.  net10.0 was computed.  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 (1)

Showing the top 1 popular GitHub repositories that depend on EFCore.Snowflake:

Repository Stars
ErikEJ/EFCorePowerTools
Entity Framework Core Power Tools - reverse engineering, migrations and model visualization in Visual Studio & CLI
Version Downloads Last Updated
9.0.4 11,046 4/24/2025
9.0.2 21,874 2/13/2025
9.0.1 8,927 1/15/2025
8.0.8 52,976 8/19/2024
8.0.6 19,526 6/24/2024
8.0.4.1 24,307 4/29/2024
8.0.4 2,921 4/14/2024
8.0.3.1 341 4/8/2024
8.0.3 6,363 3/13/2024
8.0.2 1,531 2/19/2024
8.0.2-preview.1 105 2/18/2024