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

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

Applies the argument value.

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

Syntax


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

Parameters

dataSource
Type: Tortuga.Chain.DataSources..::..IDataSource
The data source.
argumentValue
Type: Nullable<(Of <(<'Object>)>)>
The value.
options
Type: Tortuga.Chain..::..UpdateOptions
The options.
nonQueryDelete
Type: Boolean
No result will be read from this operation. This is ignored unless using UpdateOptions.SoftDelete.

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. If the object does not implement IPropertyChangeTracking and changedPropertiesOnly is set, an error will occur.