dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ConnectionStringBuilder Class / MapDate Property

In This Topic
    MapDate Property
    In This Topic
    Defines whether the DATE types should be reported as a different data type.
    Syntax
    'Declaration
     
    Public Property MapDate As Integer
    public int MapDate {get; set;}

    Property Value

    An integer (0, 1, or 2) representing the mapping mode.
    Remarks

    Available modes:

    Value Description
    0 No mapping is performed. DATE is reported as DATE. (Default value)
    1 DATE is reported as SQL_CHAR.
    2 DATE is reported as SQL_WCHAR.
    See Also