Click or drag to resize

DynamicQueryEngineBaseDeterminePrePostActionFragmentsForSequencedField 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.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
protected virtual void DeterminePrePostActionFragmentsForSequencedField(
	IFieldPersistenceInfo fieldPersistenceInfo,
	QueryFragments preInsertFragments,
	QueryFragments postInsertFragments
)

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