Click or drag to resize

DynamicQueryEngineCreateSingleTargetInsertDQ Method

Creates a new Insert Query object which is ready to use.

Namespace:  SD.LLBLGen.Pro.DQE.DB2
Assembly:  SD.LLBLGen.Pro.DQE.DB2 (in SD.LLBLGen.Pro.DQE.DB2.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
protected override void CreateSingleTargetInsertDQ(
	IEntityFieldCore[] fields,
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	IActionQuery query,
	Dictionary<IEntityFieldCore, DbParameter> fieldToParameter
)

Parameters

fields
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
Array of EntityFieldCore objects to use to build the insert query
fieldsPersistenceInfo
Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Array of IFieldPersistenceInfo objects to use to build the insert query
query
Type: SD.LLBLGen.Pro.ORMSupportClassesIActionQuery
The query object to fill.
fieldToParameter
Type: System.Collections.GenericDictionaryIEntityFieldCore, DbParameter
Hashtable which will contain after the call for each field the parameter which contains or will contain the field's value.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen fields is null or fieldsPersistenceInfo is null
ArgumentExceptionWhen fields contains no EntityFieldCore instances or fieldsPersistenceInfo is empty.
Remarks
Generic version.
See Also