DynamicQueryEngineDeterminePrePostActionFragmentsForSequencedField Method |
Appends pre and/or post action fragments to the query fragments specified to be placed before and after an INSERT INTO table (...) SELECT query to enable
identity inserts. This method should be a no-op if the field's persistence info points to a sequence that isn't an identity/system sequence so pre/post actions
aren't needed. The field which persistence info is passed in is part of the projection of the SELECT part of the INSERT INTO table (...) SELECT... query.
Namespace:
SD.LLBLGen.Pro.DQE.SqlServer
Assembly:
SD.LLBLGen.Pro.DQE.SqlServer (in SD.LLBLGen.Pro.DQE.SqlServer.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax protected override void DeterminePrePostActionFragmentsForSequencedField(
IFieldPersistenceInfo fieldPersistenceInfo,
QueryFragments preInsertFragments,
QueryFragments postInsertFragments
)
Protected Overrides Sub DeterminePrePostActionFragmentsForSequencedField (
fieldPersistenceInfo As IFieldPersistenceInfo,
preInsertFragments As QueryFragments,
postInsertFragments As QueryFragments
)
Parameters
- fieldPersistenceInfo
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
The sequenced field - preInsertFragments
- Type: SD.LLBLGen.Pro.ORMSupportClassesQueryFragments
The query fragments structure to append pre-insert statements to when that's needed - postInsertFragments
- Type: SD.LLBLGen.Pro.ORMSupportClassesQueryFragments
The query fragments structure to append post-insert statements to when that's needed
See Also