ApplicationUtilsCreateUniqueConstraintName Method (IProjectElementMapTargetElement, String, ProjectProperties, String) |
Creates the name of the unique constraint which follows from the field names, using the pattern specified in the specified properties.
Namespace: SD.LLBLGen.Pro.ApplicationCoreAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax public static string CreateUniqueConstraintName(
IProjectElementMapTargetElement sourceTable,
string[] fieldNames,
ProjectProperties properties,
string driverID
)
Public Shared Function CreateUniqueConstraintName (
sourceTable As IProjectElementMapTargetElement,
fieldNames As String(),
properties As ProjectProperties,
driverID As String
) As String
Parameters
- sourceTable
- Type: SD.LLBLGen.Pro.DBDriverCoreIProjectElementMapTargetElement
The source table. - fieldNames
- Type: SystemString
The field names. - properties
- Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProjectProperties
The properties. - driverID
- Type: SystemString
The driver identifier.
Return Value
Type:
String
A name to use for a new unique constraint which has to be processed further (it's not necessarily unique)
Remarks
Name is already processed with CreateMetaDataElementName
See Also