SqlBuilder<(Of <(<'TDbType>)>)>..::..ApplyTableType Method
Applies a user defined table type as the argument.
Namespace:
Tortuga.Chain.CommandBuildersAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public void ApplyTableType( IDataSource dataSource, OperationTypes operationType, IEnumerable<ISqlBuilderEntryDetails<TDbType>> tableTypeColumns )
Public Sub ApplyTableType ( _ dataSource As IDataSource, _ operationType As OperationTypes, _ tableTypeColumns As IEnumerable(Of ISqlBuilderEntryDetails(Of TDbType)) _ )
public: void ApplyTableType( IDataSource^ dataSource, OperationTypes^ operationType, IEnumerable<ISqlBuilderEntryDetails<TDbType>^>^ tableTypeColumns )
Parameters
- dataSource
- Type: Tortuga.Chain.DataSources..::..IDataSource
The data source.
- operationType
- Type: Tortuga.Chain.AuditRules..::..OperationTypes
Type of the operation.
- tableTypeColumns
- Type: IEnumerable<(Of <(<'ISqlBuilderEntryDetails<(Of <(<'TDbType>)>)>>)>)>
The table type columns.
Exceptions
Exception | Condition |
---|---|
[ArgumentNullException] | dataSource or tableTypeColumns |
Tortuga.Chain..::..MappingException | None of the columns on the indicated user defined type could be matched to columns in {m_Name}. |