Devart.Data.Snowflake
1.0.268
Prefix Reserved
dotnet add package Devart.Data.Snowflake --version 1.0.268
NuGet\Install-Package Devart.Data.Snowflake -Version 1.0.268
<PackageReference Include="Devart.Data.Snowflake" Version="1.0.268" />
<PackageVersion Include="Devart.Data.Snowflake" Version="1.0.268" />
<PackageReference Include="Devart.Data.Snowflake" />
paket add Devart.Data.Snowflake --version 1.0.268
#r "nuget: Devart.Data.Snowflake, 1.0.268"
#:package Devart.Data.Snowflake@1.0.268
#addin nuget:?package=Devart.Data.Snowflake&version=1.0.268
#tool nuget:?package=Devart.Data.Snowflake&version=1.0.268
Advanced C# Connection Provider for Snowflake
dotConnect for Snowflake is an enterprise-grade ADO.NET data provider that enables .NET applications to access Snowflake data using standard SQL statements—without the need for complex API knowledge or client libraries.
The provider works with .NET Frameworks, .NET Core, .NET.
It implements the full range of standard ADO.NET interfaces (SnowflakeConnection, SnowflakeCommand, SnowflakeDataAdapter, SnowflakeDataReader) and is compatible with ORM frameworks including Entity Framework Core, NHibernate, and Dapper.
More information at dotConnect for Snowflake.
Installation
- Install the NuGet Package
Install-Package Devart.Data.Snowflake
- Activate license
- Free Trial License: Evaluate the full capabilities of dotConnect for Snowflake in a non-commercial environment—ideal for development and testing. Start your free trial
- Commercial License: Deploy dotConnect for Snowflake in commercial applications and access full technical support with a valid license. Purchase a license
Work with EF Core
For projects using Entity Framework Core with Snowflake, install the Devart.Data.Snowflake.EFCore package.
Compatibility
The following table shows which version of this package to use with which version of frameworks.
| Frameworks | Version support |
|---|---|
| .NET | 11, 10, 9, 8, 7, 6, 5 |
| .NET Core | 3.1, 3.0, 2.2, 2.1, 2.0 |
| .NET Framework | 4.8, 4.7, 4.6, 4.5 |
More information here
Key Features
- SQL-Based Access: Execute Snowflake SQL queries and DML statements directly against Snowflake databases—no need to study the Snowflake REST API.
- Full ADO.NET Compatibility: Implements standard ADO.NET interfaces including SnowflakeConnection, SnowflakeCommand, SnowflakeDataAdapter, and SnowflakeDataReader for seamless .NET integration.
- Flexible Authentication: Connect with a user name and password or a programmatic access token (PAT), an RSA key pair, or OAuth 2.0, including interactive sign-in in the browser.
- Transactions: SnowflakeConnection.BeginTransaction runs explicit Snowflake transactions; TransactionScope is supported.
- ORM Support: Compatible with Entity Framework Core, NHibernate, and Dapper, allowing use of your preferred data-access framework.
- Bulk Loading: SnowflakeInternalLoader uploads a file to the internal stage of a table and loads it with COPY INTO; SnowflakeAmazonS3Loader and SnowflakeAzureLoader load files through Amazon S3 and Azure Blob Storage; SnowflakeDmlLoader loads data in batches of INSERT statements.
- Broad Platform Compatibility: Fully supports .NET Framework, .NET Core, .NET, ASP.NET Core, Blazor, and .NET MAUI.
- Visual Studio Integration: Connect to Snowflake data directly from Visual Studio's data source tools and database explorer.
- Priority Support and Continuous Improvement: Backed by dedicated technical support and regular updates that deliver security enhancements, feature improvements, and long-term stability.
Usage
To help you get started quickly, here's a simple code example demonstrating how to connect to Snowflake.
using System;
using Devart.Data.Snowflake;
namespace SnowflakeConsoleApp
{
class Program
{
static void Main(string[] args)
{
string connectionString = "Domain=myorg-myaccount.snowflakecomputing.com;User=my_user;Password=**********;Database=MY_DATABASE;Warehouse=MY_WAREHOUSE;License key=**********";
try
{
using (SnowflakeConnection connection = new SnowflakeConnection(connectionString))
{
connection.Open();
Console.WriteLine("Connection successful.");
}
}
catch (Exception ex)
{
Console.WriteLine("An error occurred: " + ex.Message);
}
}
}
}
Basic Connection Strings
| Property | Meaning |
|---|---|
| Domain | Specifies the Snowflake account URL or account identifier, for example myorg-myaccount.snowflakecomputing.com. |
| Authentication Type | Specifies the authentication method: Basic, KeyPair, OAuth2 or OAuth2Interactive. The default is Basic. |
| User | Specifies the login name of the Snowflake user for the Basic and KeyPair authentication. |
| Password | Specifies the password or a programmatic access token (PAT) of the user for the Basic authentication. |
| Private Key | Specifies the RSA private key in PEM format, or the path to its file, for the KeyPair authentication. |
| Passphrase | Specifies the passphrase of an encrypted private key. |
| Client Id | Specifies the client ID of your Snowflake security integration for the OAuth2 and OAuth2Interactive authentication. |
| Client Secret | Specifies the client secret of your Snowflake security integration for the OAuth2 and OAuth2Interactive authentication. |
| Refresh Token | Specifies the OAuth 2.0 refresh token. It is required for the OAuth2 authentication. For the OAuth2Interactive authentication, leave it empty to sign in in the browser when the connection is opened. |
| Database | Specifies the database to use in the session. |
| Schema | Specifies the schema to use in the session. |
| Warehouse | Specifies the virtual warehouse that runs the queries. |
| Role | Specifies the role to use in the session. |
| License Key | Specify your license key in this parameter. |
For more detailed tutorials, API reference, and advanced examples, visit our Getting Started guide.
Related Packages
Support Area
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5
- Devart.Data.SqlShim (>= 3.3.268)
-
.NETStandard 2.0
- Devart.Data.SqlShim (>= 3.3.268)
- Portable.BouncyCastle (>= 1.8.10)
- System.IdentityModel.Tokens.Jwt (>= 6.34.0)
- TimeZoneConverter (>= 3.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Devart.Data.Snowflake:
| Package | Downloads |
|---|---|
|
Devart.Data.Snowflake.EFCore
dotConnect for Snowflake is an ADO.NET provider for working with Snowflake data through the standard ADO.NET or Entity Framework Core interfaces. It allows you to easily integrate Snowflake data into your .NET applications, and integrate Snowflake with widely used data-oriented technologies. This package adds Entity Framework Core 11 support: LINQ queries translated to Snowflake SQL, SaveChanges with keys from sequences, Code-First migrations and scaffolding of an existing schema. More information at https://www.devart.com/dotconnect/snowflake/ License See pricing options for ordering https://www.devart.com/dotconnect/snowflake/ordering.html The NuGet package initiates the retrieval of an activation key from the Devart website. This key is required to activate the product for a free trial. Key Features * Easy Connection: Allows your .NET application to work with Snowflake data using a password, a key pair or OAuth. * SQL Access: Query Snowflake with familiar SQL statements instead of calling the Snowflake REST API. * Support and updates: Enjoy dedicated support team for prompt issue resolution and regular updates to keep your software running smoothly and securely. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.268 | 0 | 12/4/2026 |