Click or drag to resize

ProjectGetAllRelationshipBasedUniqueConstraintsForEntity Method

Gets all relationship based unique constraints for the entity specified. Relationship based unique constraints are unique constraints which are not defined in the model itself but are present for 1:1 FK/UC-PK relationships where the entity specified is at the FK side. Only direct relationships are considered, not inherited relationships.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public IEnumerable<UniqueConstraint> GetAllRelationshipBasedUniqueConstraintsForEntity(
	EntityDefinition entity
)

Parameters

entity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity.

Return Value

Type: IEnumerableUniqueConstraint
All relationship based unique constraints for the entity specified.
Remarks
The unique constraint objects are created by this method and are not present in the model.
See Also