EntityRelationship Constructor (Guid, Guid, Guid, IList, IList, IList)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Initializes a new instance of the EntityRelationship class by using the specified classId, sourceClassId, targetClassId, sourceKeyEntityProperties, targetKeyEntityProperties, and entityProperties parameters.
Namespace: Microsoft.EnterpriseManagement.EntityStore
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim classId As Guid
Dim sourceClassId As Guid
Dim targetClassId As Guid
Dim sourceKeyEntityProperties As IList(Of IEntityProperty)
Dim targetKeyEntityProperties As IList(Of IEntityProperty)
Dim entityProperties As IList(Of IEntityProperty)
Dim instance As New EntityRelationship(classId, sourceClassId, targetClassId, sourceKeyEntityProperties, targetKeyEntityProperties, entityProperties)
Syntax
'Declaration
Public Sub New ( _
classId As Guid, _
sourceClassId As Guid, _
targetClassId As Guid, _
sourceKeyEntityProperties As IList(Of IEntityProperty), _
targetKeyEntityProperties As IList(Of IEntityProperty), _
entityProperties As IList(Of IEntityProperty) _
)
public EntityRelationship (
Guid classId,
Guid sourceClassId,
Guid targetClassId,
IList<IEntityProperty> sourceKeyEntityProperties,
IList<IEntityProperty> targetKeyEntityProperties,
IList<IEntityProperty> entityProperties
)
public:
EntityRelationship (
Guid classId,
Guid sourceClassId,
Guid targetClassId,
IList<IEntityProperty^>^ sourceKeyEntityProperties,
IList<IEntityProperty^>^ targetKeyEntityProperties,
IList<IEntityProperty^>^ entityProperties
)
public EntityRelationship (
Guid classId,
Guid sourceClassId,
Guid targetClassId,
IList<IEntityProperty> sourceKeyEntityProperties,
IList<IEntityProperty> targetKeyEntityProperties,
IList<IEntityProperty> entityProperties
)
public function EntityRelationship (
classId : Guid,
sourceClassId : Guid,
targetClassId : Guid,
sourceKeyEntityProperties : IList<IEntityProperty>,
targetKeyEntityProperties : IList<IEntityProperty>,
entityProperties : IList<IEntityProperty>
)
Parameters
- classId
The class identifier.
- sourceClassId
The source class identifier.
- targetClassId
The target class identifier.
- sourceKeyEntityProperties
The source entity object key properties.
- targetKeyEntityProperties
The target entity object key properties.
- entityProperties
The entity properties.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP
See Also
Reference
EntityRelationship Class
EntityRelationship Members
Microsoft.EnterpriseManagement.EntityStore Namespace