Click or drag to resize

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.Firebird
Assembly:  SD.LLBLGen.Pro.DQE.Firebird (in SD.LLBLGen.Pro.DQE.Firebird.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
protected override string DetermineSequenceValueRetrievalExpressionForSequencedField(
	IFieldPersistenceInfo fieldPersistenceInfo
)

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: String
An 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