EFCore.Snowflake
8.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EFCore.Snowflake --version 8.0.2
NuGet\Install-Package EFCore.Snowflake -Version 8.0.2
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" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EFCore.Snowflake --version 8.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EFCore.Snowflake, 8.0.2"
#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 EFCore.Snowflake as a Cake Addin #addin nuget:?package=EFCore.Snowflake&version=8.0.2 // Install EFCore.Snowflake as a Cake Tool #tool nuget:?package=EFCore.Snowflake&version=8.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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)
);
}
}
Feedback
Feel free to submit any feedback - bug reports or feature requests. All feedback is welcome at GitHub repository.
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
Related Packages
- Other Packages
- Snowflake ADO.NET connetor Snowflake.Data.
- Microsoft.EntityFrameworkCore
License
EntityFrameworkCore.Snowflake is released as open source under the GNU Lesser General Public License v3.0 only.
Product | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.2)
- Microsoft.EntityFrameworkCore.Abstractions (>= 8.0.2)
- Microsoft.EntityFrameworkCore.Relational (>= 8.0.2)
- Snowflake.Data (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.