DynamicQueryEngineDetermineSequenceValueRetrievalExpressionForSequencedField 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.DQE.SqlServer
Assembly:
SD.LLBLGen.Pro.DQE.SqlServer (in SD.LLBLGen.Pro.DQE.SqlServer.dll) Version: 5.10.0.0 (5.10.0)
Syntax protected override string DetermineSequenceValueRetrievalExpressionForSequencedField(
IFieldPersistenceInfo fieldPersistenceInfo
)
Protected Overrides 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