CompiledMaterializers..::..Compile<(Of <(<'TCommand, TParameter>)>)> Method (MultipleTableDbCommandBuilder<(Of <(<'TCommand, TParameter>)>)>)
Allows compilation of the ToObject and ToCollection materializer.
Namespace:
Tortuga.ChainAssembly: Tortuga.Chain.CompiledMaterializers (in Tortuga.Chain.CompiledMaterializers.dll)
Syntax
public static CompiledMultipleTable<TCommand, TParameter> Compile<TCommand, TParameter>( this MultipleTableDbCommandBuilder<TCommand, TParameter> commandBuilder ) where TCommand : DbCommand, DbCommand, DbCommand where TParameter : DbParameter, DbParameter, DbParameter
<ExtensionAttribute> _ Public Shared Function Compile(Of TCommand As {DbCommand, DbCommand, DbCommand}, TParameter As {DbParameter, DbParameter, DbParameter}) ( _ commandBuilder As MultipleTableDbCommandBuilder(Of TCommand, TParameter) _ ) As CompiledMultipleTable(Of TCommand, TParameter)
[ExtensionAttribute] public: generic<typename TCommand, typename TParameter> where TCommand : DbCommand, DbCommand, DbCommand where TParameter : DbParameter, DbParameter, DbParameter static CompiledMultipleTable<TCommand, TParameter>^ Compile( MultipleTableDbCommandBuilder<TCommand, TParameter>^ commandBuilder )
Type Parameters
- TCommand
- The type of the command.
- TParameter
- The type of the parameter.
Parameters
- commandBuilder
- Type: Tortuga.Chain.CommandBuilders..::..MultipleTableDbCommandBuilder<(Of <(<'TCommand, TParameter>)>)>
The command builder.