Click or drag to resize

ApplicationUtils.CreateUniqueConstraintName 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.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static string CreateUniqueConstraintName(
	IProjectElementMapTargetElement sourceTable,
	string[] fieldNames,
	ProjectProperties properties,
	string driverID
)

Parameters

sourceTable
Type: SD.LLBLGen.Pro.DBDriverCore.IProjectElementMapTargetElement
The source table.
fieldNames
Type:System.String[]
The field names.
properties
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClasses.ProjectProperties
The properties.
driverID
Type: System.String
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