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

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

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

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

Syntax


public ParameterMetadata(
	string sqlParameterName,
	string sqlVariableName,
	string typeName,
	Nullable<TDbType> dbType,
	Nullable<bool> isNullable,
	Nullable<int> maxLength,
	Nullable<int> precision,
	Nullable<int> scale,
	string fullTypeName,
	ParameterDirection direction
)
Public Sub New ( _
	sqlParameterName As String, _
	sqlVariableName As String, _
	typeName As String, _
	dbType As Nullable(Of TDbType), _
	isNullable As Nullable(Of Boolean), _
	maxLength As Nullable(Of Integer), _
	precision As Nullable(Of Integer), _
	scale As Nullable(Of Integer), _
	fullTypeName As String, _
	direction As ParameterDirection _
)
public:
ParameterMetadata(
	String^ sqlParameterName, 
	String^ sqlVariableName, 
	String^ typeName, 
	Nullable<TDbType> dbType, 
	Nullable<bool^> isNullable, 
	Nullable<int^> maxLength, 
	Nullable<int^> precision, 
	Nullable<int^> scale, 
	String^ fullTypeName, 
	ParameterDirection^ direction
)

Parameters

sqlParameterName
Type: String
Name of the SQL parameter.
sqlVariableName
Type: String
Name of the SQL variable.
typeName
Type: String
Name of the type as known to the database.
dbType
Type: Nullable<(Of <(<'TDbType>)>)>
Type of the database column as an enum.
isNullable
Type: Nullable<(Of <(<'Boolean>)>)>
if set to true 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.
direction
Type: ParameterDirection
Indicates the direction of the parameter.