dotConnect for Snowflake Documentation
Devart.Data.Snowflake Namespace / SnowflakeType Enumeration

On this page
    SnowflakeType Enumeration
    On this page
    Specifies the data type of a field or a parameter.
    Syntax
    'Declaration
     
    Public Enum SnowflakeType 
       Inherits System.Enum
       Implements System.IComparable, System.IConvertible, System.IFormattable 
    Members
    MemberDescription
    ArrayThe Snowflake ARRAY and VECTOR. Mapped to System.String (JSON text). Parameters of this type aren't supported: pass JSON text in a String parameter and convert it with the PARSE_JSON function in the SQL statement.
    BinaryThe Snowflake BINARY (VARBINARY). Mapped to System.Byte[].
    BooleanThe Snowflake BOOLEAN. Mapped to System.Boolean.
    DateThe Snowflake DATE. Mapped to System.DateTime.
    DateTimeThe Snowflake TIMESTAMP_NTZ (DATETIME). Mapped to System.DateTime.
    DecimalThe Snowflake NUMBER with scale greater than 0 (DECIMAL, NUMERIC). Mapped to System.Decimal.
    DoubleThe Snowflake FLOAT (FLOAT4, FLOAT8, DOUBLE, DOUBLE PRECISION, REAL). Mapped to System.Double.
    GeographyThe Snowflake GEOGRAPHY and GEOMETRY. Mapped to System.String; parameters of this type are sent as text.
    GuidThe Snowflake VARCHAR(36) when Text36AsGuid=true, or VARCHAR(38) when Text38AsGuid=true. Mapped to System.Guid.
    IntegerThe Snowflake NUMBER with scale 0 (INT, INTEGER, BIGINT, SMALLINT, TINYINT, BYTEINT). Mapped to System.Int64.
    ObjectThe Snowflake OBJECT. Mapped to System.String (JSON text). Parameters of this type aren't supported: pass JSON text in a String parameter and convert it with the PARSE_JSON function in the SQL statement.
    StringThe Snowflake VARCHAR (STRING, TEXT, CHAR, CHARACTER, NCHAR, NVARCHAR). Mapped to System.String.
    TimeThe Snowflake TIME. Mapped to System.TimeSpan.
    TimestampLTZThe Snowflake TIMESTAMP_LTZ. Mapped to System.DateTime.
    TimestampTZThe Snowflake TIMESTAMP_TZ. Mapped to System.DateTimeOffset.
    VariantThe Snowflake VARIANT. Mapped to System.String: objects and arrays are returned as JSON text. Parameters of this type aren't supported: pass JSON text in a String parameter and convert it with the PARSE_JSON function in the SQL statement.
    Remarks
    This table shows mappings between SnowflakeType values, Snowflake data types, Microsoft .NET Framework types.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Devart.Data.Snowflake.SnowflakeType

    See Also