Click or drag to resize

DynamicQueryEngineBaseCreateInsertDQ Method (IEntityFieldCore, IFieldPersistenceInfo, QueryParameters, DbConnection)

Creates a new INSERT INTO target (field1, field2...) SELECT ... query.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public IActionQuery CreateInsertDQ(
	IEntityFieldCore[] targetFields,
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	QueryParameters selectQueryParameters,
	DbConnection connectionToUse
)

Parameters

targetFields
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFieldCore
The fields of the target to insert into.
fieldsPersistenceInfo
Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
The persistence info objects of the target fields
selectQueryParameters
Type: SD.LLBLGen.Pro.ORMSupportClassesQueryParameters
The QueryParameters which form the select query to use for the insert statement
connectionToUse
Type: System.Data.CommonDbConnection
the connection object to use in the query

Return Value

Type: IActionQuery
Ready to use IActionQuery object
See Also