Click or drag to resize

DBCatalogGetAllConstraintsToDropForUpdate Method

Gets all constraints of type typeOfElementsToRetrieve from this catalog 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.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public HashSet<DBElementBase> GetAllConstraintsToDropForUpdate(
	DBElementType typeOfElementsToRetrieve,
	string schemaFilter
)

Parameters

typeOfElementsToRetrieve
Type: SD.LLBLGen.Pro.DBDriverCoreDBElementType
The type of elements to retrieve. Has to be a constraint type
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