Click or drag to resize

DatabaseMetaDataValidateTableName Method

Validates the name of the table.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.MetaData
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public bool ValidateTableName(
	string catalogName,
	string schemaName,
	DBTable containingTable,
	string nameToValidate,
	bool checkForDuplicates,
	out string errorText
)

Parameters

catalogName
Type: SystemString
Name of the catalog. Ignored if containingTable isn't null.
schemaName
Type: SystemString
Name of the schema. Ignored if containingTable isn't null.
containingTable
Type: SD.LLBLGen.Pro.DBDriverCoreDBTable
The containing table. Can be null if the name is for a new table. If not null, catalogName and schemaName are ignored
nameToValidate
Type: SystemString
The name to validate.
checkForDuplicates
Type: SystemBoolean
if set to [check for duplicates].
errorText
Type: SystemString
The error text.

Return Value

Type: Boolean
true if the name is a valid table name, false otherwise
Remarks
If the name already exists as table, the name is seen as valid. If the name already exists as view, the name is considered invalid
See Also