Click or drag to resize
ProjectGetAllConstraintsToDropForUpdateFromMetaData Method
Gets all constraints of type typeOfElementsToRetrieve from the meta data of the database which affect a changed element. Used for update DDL SQL scripts to be able to drop constraints before DDL SQL statements are executed. If typeofElementsToRetrieve isn't a constraint type, an empty set is returned.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public HashSet<DBElementBase> GetAllConstraintsToDropForUpdateFromMetaData(
	DBElementType typeOfElementsToRetrieve,
	string driverID,
	string catalogFilter,
	string schemaFilter
)

Parameters

typeOfElementsToRetrieve
Type: SD.LLBLGen.Pro.DBDriverCoreDBElementType
The type of elements to retrieve. Has to be a constraint type
driverID
Type: SystemString
The driver ID.
catalogFilter
Type: SystemString
The catalog filter. If left empty (empty string), all catalogs are considered, otherwise the one specified
schemaFilter
Type: SystemString
The schema filter. If left empty (empty string), all schemas in the specified catalog(s) are considered, otherwise the one specified

Return Value

Type: HashSetDBElementBase
set of constraints to drop which refer to changed elements, to make an Update DDL SQL script run without errors.
See Also