Click or drag to resize

DatabaseMetaDataValidateSchemaName Method

Validates the name of the schema.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.MetaData
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public bool ValidateSchemaName(
	DBDriverBase driverToUse,
	string catalogName,
	DBSchema containingSchema,
	string nameToValidate,
	bool checkForDuplicates,
	out string errorText
)

Parameters

driverToUse
Type: SD.LLBLGen.Pro.DBDriverCoreDBDriverBase
The driver to use.
catalogName
Type: SystemString
Name of the catalog. Ignored if containingSchema isn't null
containingSchema
Type: SD.LLBLGen.Pro.DBDriverCoreDBSchema
The containing schema. Can be null if the name is for a new schema. If not null, catalogName is 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 schema name, false otherwise
Remarks
If the name already exists, the name is seen as valid
See Also