DynamicQueryEngineBaseDetermineSequenceValueRetrievalExpressionForSequencedField Method |
Returns the expression in string form to use to retrieve the next value for the sequence pointed at by the passed in fieldPersistenceInfo.
The expression is added to the projection of the SELECT part of an INSERT INTO table (...) SELECT... query. The field which persistence info
has been passed in isn't part of the select's projection part and will have to be present with a sequence retrieval expression if the sequence
used by the field is a non-system sequence. In all other situations this method returns the empty string
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 string DetermineSequenceValueRetrievalExpressionForSequencedField(
IFieldPersistenceInfo fieldPersistenceInfo
)
Protected Overridable Function DetermineSequenceValueRetrievalExpressionForSequencedField (
fieldPersistenceInfo As IFieldPersistenceInfo
) As String
Parameters
- fieldPersistenceInfo
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
The persistence info of a sequenced field in the target of the insert query while it's not present in the select's
projection part.
Return Value
Type:
StringAn expression in string form to retrieve the next value of a non-system sequence or the empty string if it's not applicable
See Also