IdeaBlade DevForce 2010 Help Reference
EntityRelation Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : EntityRelation Class



Represents a relationship between two IEntity subtypes.

Object Model

EntityRelation ClassEntityRelationLink ClassEntityRelationRole ClassEntityRelationRole ClassEntityRelationRole ClassEntityRelationLink ClassEntityRelationLink Class

Syntax

Visual Basic (Declaration) 
<DataContractAttribute()>
Public Class EntityRelation 
Visual Basic (Usage)Copy Code
Dim instance As EntityRelation
C# 
[DataContractAttribute()]
public class EntityRelation 
C++/CLI 
[DataContractAttribute()]
public ref class EntityRelation 

Remarks

EntityRelation objects are automatically generated for you by the IdeaBlade DevForce Object Mapping Tool for any relationships defined during design, and placed in a class called EntityRelations in your doman model.

The EntityRelation corresponds to an association in the conceptual model of your Entity Domain Model. There are two ends to every relation: Role1 and Role2. The multiplicity of the two ends determines the multiplicity of the relation.

Inheritance Hierarchy

System.Object
   IdeaBlade.EntityModel.EntityRelation

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.