Click or drag to resize

EntityBaseElementGetAllContainingUniqueConstraints Method

Gets all the containing unique constraints the passed in field is in.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.9.0.0 (5.9.0)
Syntax
protected List<UniqueConstraint> GetAllContainingUniqueConstraints(
	MappableFieldWrapper mappableField,
	int indexInPath,
	bool alsoValueTypedUCs
)

Parameters

mappableField
Type: SD.LLBLGen.Pro.ApplicationCore.MappingMappableFieldWrapper
The mappable field.
indexInPath
Type: SystemInt32
The index in the path inside the mappable field. The index is the index of the field in this element to examine.
alsoValueTypedUCs
Type: SystemBoolean
if true, also the UCs in contained valuetyped fields are obtained, otherwise these are ignored.

Return Value

Type: ListUniqueConstraint
List of all the uc's which contain the passed in mappable field, or empty list if the field isn't in a UC
See Also