Sql100ReverseEngineer.AdjustTypeSize Method
Adjusts the type size.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected Overrides Sub AdjustTypeSize ( _
type As ISqlType, _
typeName As String, _
ByRef length As Integer, _
ByRef precision As Integer, _
ByRef scale As Integer _
)
'Usage
Dim type As ISqlType
Dim typeName As String
Dim length As Integer
Dim precision As Integer
Dim scale As Integer
Me.AdjustTypeSize(type, typeName, _
length, precision, scale)
protected override void AdjustTypeSize(
ISqlType type,
string typeName,
ref int length,
ref int precision,
ref int scale
)
protected:
virtual void AdjustTypeSize(
ISqlType^ type,
String^ typeName,
int% length,
int% precision,
int% scale
) override
protected override function AdjustTypeSize(
type : ISqlType,
typeName : String,
length : int,
precision : int,
scale : int
)
abstract AdjustTypeSize :
type:ISqlType *
typeName:string *
length:int *
precision:int *
scale:int -> unit
override AdjustTypeSize :
type:ISqlType *
typeName:string *
length:int *
precision:int *
scale:int -> unit
Parameters
- type
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.ISqlType
The SQL type
- typeName
Type: System.String
The type name
- length
Type: System.Int32%
The length
- precision
Type: System.Int32%
The precision
- scale
Type: System.Int32%
The scale
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.