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

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

Applies the argument value.

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

Syntax


public void ApplyArgumentValue(
	IDataSource dataSource,
	Object argumentValue,
	DeleteOptions options,
	bool nonQuery
)
Public Sub ApplyArgumentValue ( _
	dataSource As IDataSource, _
	argumentValue As Object, _
	options As DeleteOptions, _
	nonQuery As Boolean _
)
public:
void ApplyArgumentValue(
	IDataSource^ dataSource, 
	Object^ argumentValue, 
	DeleteOptions^ options, 
	bool^ nonQuery
)

Parameters

dataSource
Type: Tortuga.Chain.DataSources..::..IDataSource
The data source.
argumentValue
Type: Object
The value.
options
Type: Tortuga.Chain..::..DeleteOptions
The options.
nonQuery
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.