dotConnect for Snowflake Documentation
Devart.Data.Snowflake Namespace / SnowflakeParameter Class / Type Property

On this page
    Type Property
    On this page
    Gets or sets the SnowflakeType of the parameter.
    Syntax
    'Declaration
     
    Public Property Type As SnowflakeType
    public SnowflakeType Type {get; set;}

    Property Value

    One of the SnowflakeType values. The default value is SnowflakeType.String.
    Remarks

    If the type is not set explicitly, it is determined by the type of the Value property. Unsigned integer values are passed as SnowflakeType.Integer. If the value is not set, the type is SnowflakeType.String.

    The SnowflakeType and System.Data.Common.DbParameter.DbType of the parameter are linked. Setting System.Data.Common.DbParameter.DbType changes the type to the corresponding SnowflakeType value; System.Data.DbType.VarNumeric corresponds to SnowflakeType.Decimal.

    For more information, see Data Type Mapping and Using Parameters.

    See Also