UnitOfWork2AddInsertEntitiesDirectlyCall 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.10.0.0 (5.10.0)
Syntax public void AddInsertEntitiesDirectlyCall(
Type typeOfEntity,
DynamicQuery selectQuery
)
Public Sub AddInsertEntitiesDirectlyCall (
typeOfEntity As Type,
selectQuery As DynamicQuery
)
Parameters
- typeOfEntity
- Type: SystemType
The type of the entity to insert - selectQuery
- Type: SD.LLBLGen.Pro.QuerySpecDynamicQuery
The select query which will produce the rows to insert
Remarks the method is called on the adapter passed in to Commit.
See Also