Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DbMetadata Constructor

Initializes a new instance of the DbMetadata class.

[Visual Basic]
Public Sub New( _
   ByVal productName As String, _
   ByVal assemblyName As String, _
   ByVal connectionType As Type, _
   ByVal commandType As Type, _
   ByVal parameterType As Type, _
   ByVal dataAdapterType As Type, _
   ByVal commandBuilderType As Type, _
   ByVal commandBuilderDeriveParametersMethod As String, _
   ByVal parameterDbType As Type, _
   ByVal parameterDbTypeProperty As String, _
   ByVal parameterIsNullableProperty As String, _
   ByVal parameterNamePrefix As String, _
   ByVal exceptionType As Type, _
   ByVal useParameterNamePrefixInParameterCollection As Boolean, _
   ByVal useParameterPrefixInSql As Boolean, _
   ByVal bindByName As Boolean, _
   ByVal errorCodeExceptionExpression As String _
)
[C#]
DbMetadata(
   string productName,
   string assemblyName,
   Type connectionType,
   Type commandType,
   Type parameterType,
   Type dataAdapterType,
   Type commandBuilderType,
   string commandBuilderDeriveParametersMethod,
   Type parameterDbType,
   string parameterDbTypeProperty,
   string parameterIsNullableProperty,
   string parameterNamePrefix,
   Type exceptionType,
   bool useParameterNamePrefixInParameterCollection,
   bool useParameterPrefixInSql,
   bool bindByName,
   string errorCodeExceptionExpression
);

Parameters

productName
Name of the product.
assemblyName
Name of the assembly.
connectionType
Type of the connection.
commandType
Type of the command.
parameterType
Type of the parameter.
dataAdapterType
Type of the data adapter.
commandBuilderType
Type of the command builder.
commandBuilderDeriveParametersMethod
The command builder derive parameters method.
parameterDbType
Type of the parameter db.
parameterDbTypeProperty
The parameter db type property.
parameterIsNullableProperty
The parameter is nullable property.
parameterNamePrefix
The parameter name prefix.
exceptionType
Type of the exception.
useParameterNamePrefixInParameterCollection
if set to true [use parameter name prefix in parameter collection].
useParameterPrefixInSql
if set to true [use parameter prefix in SQL].
bindByName
if set to true [bind by name].
errorCodeExceptionExpression
The error code exception expression.

See Also

DbMetadata Class | Spring.Data.Common Namespace