This method assigns dataRow column values to an IDataParameterCollection
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
protected internal void AssignParameterValues( IDataParameterCollection commandParameters, DataRow dataRow ) |
Visual Basic |
---|
Protected Friend Sub AssignParameterValues ( commandParameters As IDataParameterCollection, dataRow As DataRow ) |
Parameters
- commandParameters
- Type: System.Data..::..IDataParameterCollection
The IDataParameterCollection to be assigned values
- dataRow
- Type: System.Data..::..DataRow
The dataRow used to hold the stored procedure's parameter values
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | Thrown if any of the parameter names are invalid. |