DevForce Help Reference
EntityRelation Class Members
Properties  Methods 


The following tables list the members exposed by EntityRelation.

Public Constructors
 NameDescription
Public ConstructorEntityRelation ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)EntityAssembliesReturns a list of all of the assemblies in which an EntityRelations is defined.  
Public PropertyIsManyToMany Is this a many to many relation.  
Public PropertyLinks Both links for this relation.  
Public PropertyName Gets the relation name without the namespace-qualifier.  
Public PropertyNamespaceGets the namespace portion of the RelationName.  
Public PropertyRelationName Gets the namespace-qualified relation name assigned during mapping.  
Public PropertyRole1The first EntityRelationRole in this relation.  
Public PropertyRole2The second EntityRelationRole in this relation.  
Public PropertyRoles Both roles in this relation returned as an array.  
Public PropertyToRole1LinkGets the EntityRelationLink for the Role1 end.  
Public PropertyToRole2LinkGets the EntityRelationLink for the Role2 end.  
Top
Public Methods
 NameDescription
Public MethodEqualsOverridden. See System.Object.Equals(System.Object).  
Public Methodstatic (Shared in Visual Basic)GetEntityRelationOverloaded.  Returns the first EntityRelation having the specified relation name.  
Public Methodstatic (Shared in Visual Basic)GetEntityRelationLink Returns the EntityRelationLink for the specified entity type and relation property.  
Public Methodstatic (Shared in Visual Basic)GetEntityRelationsOverloaded.  Returns a list of all of the EntityRelations currently defined.  
Public MethodGetHashCodeServes as the default hash function.  
Public Methodstatic (Shared in Visual Basic)GetRelatedProperties Returns a collection of properties related to the specified property.  
Public MethodGetRoleReturns the EntityRelationRole given a specified QueryDirection.  
Public MethodGetType (Inherited from object)
Public Methodstatic (Shared in Visual Basic)InitializeEntityRelations Initializes all of the EntityRelations found in an assembly.  
Public MethodToStringReturns a string that represents the current object.  
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Top
See Also

Reference

EntityRelation Class
IdeaBlade.EntityModel Namespace

Send Feedback