Click or drag to resize
DatabaseMetaData.ValidateTableName 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.0.0.0 (5.0.0)
Syntax
public bool ValidateTableName(
	string catalogName,
	string schemaName,
	DBTable containingTable,
	string nameToValidate,
	bool checkForDuplicates,
	out string errorText
)

Parameters

catalogName
Type: System.String
Name of the catalog. Ignored if containingTable isn't null.
schemaName
Type: System.String
Name of the schema. Ignored if containingTable isn't null.
containingTable
Type: SD.LLBLGen.Pro.DBDriverCore.DBTable
The containing table. Can be null if the name is for a new table. If not null, catalogName and schemaName are ignored
nameToValidate
Type: System.String
The name to validate.
checkForDuplicates
Type: System.Boolean
if set to true [check for duplicates].
errorText
Type: System.String
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