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

SqlBuilder<(Of <(<'TDbType>)>)>..::..ApplyArgumentValue Method (IDataSource, OperationTypes, Nullable<(Of <(<'Object>)>)>, Boolean)

Applies the argument value.

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

Syntax


public void ApplyArgumentValue(
	IDataSource dataSource,
	OperationTypes operationType,
	Nullable<Object> argumentValue,
	bool nonQueryDelete
)
Public Sub ApplyArgumentValue ( _
	dataSource As IDataSource, _
	operationType As OperationTypes, _
	argumentValue As Nullable(Of Object), _
	nonQueryDelete As Boolean _
)
public:
void ApplyArgumentValue(
	IDataSource^ dataSource, 
	OperationTypes^ operationType, 
	Nullable<Object^> argumentValue, 
	bool^ nonQueryDelete
)

Parameters

dataSource
Type: Tortuga.Chain.DataSources..::..IDataSource
The data source.
operationType
Type: Tortuga.Chain.AuditRules..::..OperationTypes
Type of the operation.
argumentValue
Type: Nullable<(Of <(<'Object>)>)>
The value.
nonQueryDelete
Type: Boolean
No result will be read from this operation.

Exceptions


ExceptionCondition
Tortuga.Chain..::..MappingExceptionThis is thrown is no properties could be matched to a column. If strict mode, all properties must match columns.
[ArgumentNullException]value;value is null.

Remarks


If the object implements IReadOnlyDictionary[string, object], ApplyArgumentDictionary will be implicitly called instead.