ApplicationUtilsCreateSequenceName Method |
Creates the name of a sequence based on the pattern defined in the properties.
Namespace:
SD.LLBLGen.Pro.ApplicationCore
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public static string CreateSequenceName(
FieldElement sequencedField,
ProjectProperties properties,
bool caseSensitiveDatabase,
int nameLengthLimit
)
Public Shared Function CreateSequenceName (
sequencedField As FieldElement,
properties As ProjectProperties,
caseSensitiveDatabase As Boolean,
nameLengthLimit As Integer
) As String
Parameters
- sequencedField
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelFieldElement
The sequenced field. - properties
- Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProjectProperties
The properties. - caseSensitiveDatabase
- Type: SystemBoolean
if set to true the call is for a case sensitive database, otherwise false.. - nameLengthLimit
- Type: SystemInt32
The name length limit for this database. If 0 or smaller, no limit is enforced, otherwise the limit specified here is the
limit used to generate names for elements in the relational model data in the designer.
Return Value
Type:
StringA name to use for a new sequence which has to be processed further (it's not necessarily unique)
Remarks Name is already processed with CreateMetaDataElementName
See Also