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

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

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,
	InsertOptions options
)
Public Sub ApplyArgumentValue ( _
	dataSource As IDataSource, _
	argumentValue As Object, _
	options As InsertOptions _
)
public:
void ApplyArgumentValue(
	IDataSource^ dataSource, 
	Object^ argumentValue, 
	InsertOptions^ options
)

Parameters

dataSource
Type: Tortuga.Chain.DataSources..::..IDataSource
The data source.
argumentValue
Type: Object
The value.
options
Type: Tortuga.Chain..::..InsertOptions
The options.

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.