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

In This Topic
    EnsureDefaultDFRM Property
    In This Topic
    Specifies whether the Open method will attempt to explicitly set the rounding mode to ROUND_HALF_EVEN.
    Syntax
    'Declaration
     
    Public Property EnsureDefaultDFRM As Boolean
    public bool EnsureDefaultDFRM {get; set;}

    Property Value

    If true the Open method will attempt to explicitly set the rounding mode to ROUND_HALF_EVEN. If the database rounding mode is not ROUND_HALF_EVEN, then the Open() call will throw a DB2RoundingModeException but the connection will remain open. Default value is false.
    See Also