DataTypeMapping.GetScale Method

Definition

Overloads

GetScale(SQLType, Int32)
GetScale(SQLType, Int32, Int32)

GetScale(SQLType, Int32)

public:
 static int GetScale(Microsoft::HostIntegration::Drda::Common::SQLType sqlType, int baseScale);
public static int GetScale (Microsoft.HostIntegration.Drda.Common.SQLType sqlType, int baseScale);
static member GetScale : Microsoft.HostIntegration.Drda.Common.SQLType * int -> int

Parameters

sqlType
SQLType
baseScale
Int32

Returns

Int32

Applies to

GetScale(SQLType, Int32, Int32)

public:
 static int GetScale(Microsoft::HostIntegration::Drda::Common::SQLType sqlType, int fieldLength, int baseScale);
public static int GetScale (Microsoft.HostIntegration.Drda.Common.SQLType sqlType, int fieldLength, int baseScale);
static member GetScale : Microsoft.HostIntegration.Drda.Common.SQLType * int * int -> int

Parameters

sqlType
SQLType
fieldLength
Int32
baseScale
Int32

Returns

Int32

Applies to