Click or drag to resize

DynamicQueryEngineBaseCreateInsertDQ Method (IEntityFields, DbConnection)

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

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public IActionQuery CreateInsertDQ(
	IEntityFields fields,
	DbConnection connectionToUse
)

Parameters

fields
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
EntityFields object to use to build the insert query
connectionToUse
Type: System.Data.CommonDbConnection
The connection to use for the query

Return Value

Type: IActionQuery
IActionQuery Instance which is ready to be used.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen fields is null
ArgumentExceptionWhen fields contains no EntityField instances.
Remarks
Self servicing specific
See Also