Click or drag to resize

UnitOfWork2.AddInsertEntitiesDirectlyCall Method

Adds an InsertEntitiesDirectly call to be scheduled during Commit. It is called right after the last entity has been inserted but before the post insert callbacks are called.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntax
public void AddInsertEntitiesDirectlyCall(
	Type typeOfEntity,
	DynamicQuery selectQuery
)

Parameters

typeOfEntity
Type: System.Type
The type of the entity to insert
selectQuery
Type: SD.LLBLGen.Pro.QuerySpec.DynamicQuery
The select query which will produce the rows to insert
Remarks
the method is called on the adapter passed in to Commit.
See Also