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.12.0.0 (5.12.0)
Syntaxpublic IActionQuery CreateInsertDQ(
IEntityFieldCore[] targetFields,
IFieldPersistenceInfo[] fieldsPersistenceInfo,
QueryParameters selectQueryParameters,
DbConnection connectionToUse
)
Public Function CreateInsertDQ (
targetFields As IEntityFieldCore(),
fieldsPersistenceInfo As IFieldPersistenceInfo(),
selectQueryParameters As QueryParameters,
connectionToUse As DbConnection
) As IActionQuery
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:
IActionQueryReady to use IActionQuery object
See Also