Click or drag to resize
ApplicationUtilsCreatePkConstraintName Method
Creates the name of the pk constraint which follows from the table specified, 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.2.0.0 (5.2.17.0403)
Syntax
public static string CreatePkConstraintName(
	DBTable sourceTable,
	ProjectProperties properties,
	string driverID
)

Parameters

sourceTable
Type: SD.LLBLGen.Pro.DBDriverCoreDBTable
The source table.
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 primary key constraint which has to be processed further (it's not necessarily unique)
Remarks
Name is already processed with CreateMetaDataElementName
See Also