Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

ColumnMetadata<(Of <(<'TDbType>)>)> Constructor

Initializes a new instance of the ColumnMetadata<(Of <(<'TDbType>)>)> class.

Namespace:  Tortuga.Chain.Metadata
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public ColumnMetadata(
	string name,
	bool isComputed,
	bool isPrimaryKey,
	bool isIdentity,
	string typeName,
	Nullable<TDbType> dbType,
	string quotedSqlName,
	Nullable<bool> isNullable,
	Nullable<int> maxLength,
	Nullable<int> precision,
	Nullable<int> scale,
	string fullTypeName,
	Nullable<Type> clrType
)
Public Sub New ( _
	name As String, _
	isComputed As Boolean, _
	isPrimaryKey As Boolean, _
	isIdentity As Boolean, _
	typeName As String, _
	dbType As Nullable(Of TDbType), _
	quotedSqlName As String, _
	isNullable As Nullable(Of Boolean), _
	maxLength As Nullable(Of Integer), _
	precision As Nullable(Of Integer), _
	scale As Nullable(Of Integer), _
	fullTypeName As String, _
	clrType As Nullable(Of Type) _
)
public:
ColumnMetadata(
	String^ name, 
	bool^ isComputed, 
	bool^ isPrimaryKey, 
	bool^ isIdentity, 
	String^ typeName, 
	Nullable<TDbType> dbType, 
	String^ quotedSqlName, 
	Nullable<bool^> isNullable, 
	Nullable<int^> maxLength, 
	Nullable<int^> precision, 
	Nullable<int^> scale, 
	String^ fullTypeName, 
	Nullable<Type^> clrType
)

Parameters

name
Type: String
The name.
isComputed
Type: Boolean
if set to true is a computed column.
isPrimaryKey
Type: Boolean
if set to true is a primary key.
isIdentity
Type: Boolean
if set to true [is identity].
typeName
Type: String
Name of the type.
dbType
Type: Nullable<(Of <(<'TDbType>)>)>
Type used by the database.
quotedSqlName
Type: String
Name of the quoted SQL.
isNullable
Type: Nullable<(Of <(<'Boolean>)>)>
Indicates if the column is nullable.
maxLength
Type: Nullable<(Of <(<'Int32>)>)>
The maximum length.
precision
Type: Nullable<(Of <(<'Int32>)>)>
The precision.
scale
Type: Nullable<(Of <(<'Int32>)>)>
The scale.
fullTypeName
Type: String
Full name of the type.
clrType
Type: Nullable<(Of <(<'Type>)>)>
The CLR type that matches this column's database type.