Share via


EntityRelationship Constructor (Guid, Guid, Guid, DateTime, DateTime, 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, timeAdded, lastModified, 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 timeAdded As DateTime
Dim lastModified As DateTime
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, timeAdded, lastModified, sourceKeyEntityProperties, targetKeyEntityProperties, entityProperties)

Syntax

'Declaration
Public Sub New ( _
    classId As Guid, _
    sourceClassId As Guid, _
    targetClassId As Guid, _
    timeAdded As DateTime, _
    lastModified As DateTime, _
    sourceKeyEntityProperties As IList(Of IEntityProperty), _
    targetKeyEntityProperties As IList(Of IEntityProperty), _
    entityProperties As IList(Of IEntityProperty) _
)
public EntityRelationship (
    Guid classId,
    Guid sourceClassId,
    Guid targetClassId,
    DateTime timeAdded,
    DateTime lastModified,
    IList<IEntityProperty> sourceKeyEntityProperties,
    IList<IEntityProperty> targetKeyEntityProperties,
    IList<IEntityProperty> entityProperties
)
public:
EntityRelationship (
    Guid classId, 
    Guid sourceClassId, 
    Guid targetClassId, 
    DateTime timeAdded, 
    DateTime lastModified, 
    IList<IEntityProperty^>^ sourceKeyEntityProperties, 
    IList<IEntityProperty^>^ targetKeyEntityProperties, 
    IList<IEntityProperty^>^ entityProperties
)
public EntityRelationship (
    Guid classId, 
    Guid sourceClassId, 
    Guid targetClassId, 
    DateTime timeAdded, 
    DateTime lastModified, 
    IList<IEntityProperty> sourceKeyEntityProperties, 
    IList<IEntityProperty> targetKeyEntityProperties, 
    IList<IEntityProperty> entityProperties
)
public function EntityRelationship (
    classId : Guid, 
    sourceClassId : Guid, 
    targetClassId : Guid, 
    timeAdded : DateTime, 
    lastModified : DateTime, 
    sourceKeyEntityProperties : IList<IEntityProperty>, 
    targetKeyEntityProperties : IList<IEntityProperty>, 
    entityProperties : IList<IEntityProperty>
)

Parameters

  • classId
    The class identifier.
  • sourceClassId
    The source class identifier.
  • targetClassId
    The target class identifier.
  • timeAdded
    The date and time at which the entity relationship was created.
  • lastModified
    The date and time at which the entity relationship was last modified.
  • sourceKeyEntityProperties
    The source entity object keyproperties.
  • 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