Key features and compatibility

Compatibility

  • Support for Snowflake
  • Connection to a Snowflake account by its domain name
  • x64 and x86 architecture

Platforms

  • .NET 5.0-11.0
  • .NET Core 2.0-3.1
  • .NET Framework 4.5-4.8
  • .NET Standard 2.0

ORM support

  • Entity Framework Core 3.1, 8-11
  • Dapper 1.x, 2.x
  • NHibernate 1.x-5.x
  • Entity Developer, Devart's visual ORM designer

Entity Framework Core features

  • Full CRUD support
  • Database-First: reverse engineering of Snowflake tables to a model with the Scaffold-DbContext command
  • Code-First, including migrations
  • Support for Snowflake transactions
  • Wide support for Snowflake data types

Entity Framework Core limitations

  • Idempotent migration scripts are not supported
  • INTERSECT ALL and EXCEPT ALL are not supported
  • Sequences do not support MINVALUE, MAXVALUE, CYCLE, and restart
  • ALTER COLUMN is not supported for computed columns
  • The EnsureDeleted method does not delete the database

Security standards

  • Authentication with a user name and a password or a programmatic access token (PAT)
  • Key pair authentication with an encrypted or unencrypted private key
  • OAuth 2.0 authentication with your own Snowflake security integration
  • Direct connection to Snowflake over HTTPS
  • Connection through a proxy server
  • Passwords, keys, and tokens are removed from the connection string after the connection is opened

Performance

  • Connection pooling
  • Pooling control through the connection string
  • Bulk data loading with the SnowflakeInternalLoader, SnowflakeAmazonS3Loader, and SnowflakeAzureLoader components
  • Asynchronous execution with the standard ADO.NET asynchronous methods

IDE integration

Visual Studio

Microsoft Visual Studio 2017-2026

  • Server Explorer integration with the Snowflake connection dialog
  • Browser sign-in for OAuth 2.0 authentication in the connection dialog
  • Browsing Snowflake objects in Server Explorer
  • Design-time editors for SnowflakeConnection, SnowflakeCommand, SnowflakeDataAdapter, and SnowflakeCommandBuilder

ADO.NET architecture

  • Standard ADO.NET classes: connection, command, data reader, data adapter, and parameters
  • Automatic generation of data adapter commands with SnowflakeCommandBuilder
  • Connection string builder
  • Provider factory support
  • Metadata retrieval with the GetSchema method, including primary and foreign keys
  • Transactions with the SnowflakeTransaction class and the READ COMMITTED isolation level
  • TransactionScope support (local transactions)
  • DataSet and DataTable population with SnowflakeDataAdapter
  • SnowflakeException for errors returned by Snowflake

NuGet availability

dotnet add package Devart.Data.Snowflake
dotnet add package Devart.Data.Snowflake.EFCore

Snowflake technology support

  • SELECT, INSERT, UPDATE, and DELETE statements
  • SHOW and DESCRIBE statements
  • DDL statements: CREATE, ALTER, and DROP for tables, views, schemas, databases, and sequences
  • Support for Snowflake data types, including VARIANT, OBJECT, ARRAY, GEOGRAPHY, TIMESTAMP_LTZ, and TIMESTAMP_TZ
  • The Text36AsGuid and Text38AsGuid options to return text columns as Guid values
  • Database, schema, warehouse, and role set in the connection string
  • Bulk data loading through the Snowflake internal stage and external stages on Amazon S3 and Azure
  • SQL tracing with the SnowflakeMonitor component