IGeneratorGetUniqueRelationshipNameForRelationship Method |
Gets the cached unique relationship name for relationship specified. The relationship has to be in scope of the generator
Namespace:
SD.LLBLGen.Pro.ApplicationCore
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax string GetUniqueRelationshipNameForRelationship(
RelationshipEdge relationship
)
Function GetUniqueRelationshipNameForRelationship (
relationship As RelationshipEdge
) As String
Parameters
- relationship
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelRelationshipEdge
The relationship.
Return Value
Type:
Stringunique name within the scope of the generator for the relationship specified
Remarks The name is in the format StartEntityName_StartNavigator_EndEntityName_EndNavigator. If duplicates arise, underscores are appended
till a unique name is created.
See Also