ClosureFindAndRelateElementOperation Class

Definition

Closure operation that is used to mark a find or create target element operation

public ref class ClosureFindAndRelateElementOperation : Microsoft::VisualStudio::Modeling::ClosureFindElementOperation, System::Runtime::Serialization::ISerializable
[System.Serializable]
public class ClosureFindAndRelateElementOperation : Microsoft.VisualStudio.Modeling.ClosureFindElementOperation, System.Runtime.Serialization.ISerializable
[<System.Serializable>]
type ClosureFindAndRelateElementOperation = class
    inherit ClosureFindElementOperation
    interface ISerializable
Public Class ClosureFindAndRelateElementOperation
Inherits ClosureFindElementOperation
Implements ISerializable
Inheritance
ClosureFindAndRelateElementOperation
Derived
Attributes
Implements

Constructors

ClosureFindAndRelateElementOperation()

Default Constructor

ClosureFindAndRelateElementOperation(ModelElement, DomainRoleInfo, ModelElement, DomainRoleInfo, DomainRelationshipInfo)

Constructor

ClosureFindAndRelateElementOperation(SerializationInfo, StreamingContext)

Protected constructor. It is executed during deserialization.

Fields

ClosureElementOperationList

The key to which closure element operations context info is bound

(Inherited from ClosureElementOperation)

Properties

CopiedRoleId

The id of the domainRole that the copied source object plays in the relationship

CopiedTargetElement

The copied element as found in the target store

FoundRoleId

The id of the domainRole that the found target element plays in the relationship

SourceElementDomainClassId

Id of the domain class of the element

(Inherited from ClosureFindElementOperation)
SourceElementId

Id of the element in the source store

(Inherited from ClosureFindElementOperation)
TargetDomainRelationshipId

The id of the domain relationship to create

TargetElement

The element as found in the target store

(Inherited from ClosureFindElementOperation)
TargetElementId

Id of the element as found in the target store

(Inherited from ClosureFindElementOperation)

Methods

FindElement(Guid, Guid, Store, ElementGroup)

default brute force search operation

(Inherited from ClosureFindElementOperation)
GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object. This method is executed during serialization.

Matches(ModelElement)

abstract method to determine that an element matches the one described by this find operation

(Inherited from ClosureFindElementOperation)
Resolve(Partition, ElementGroup)

Performs target resolution of this operation

ResolveCopiedTargetElement(Partition, ElementGroup)

Resolves the target element that was copied to the Partition

ResolveCreateElementLink(Partition)

Resolves creating an element link in the target store

ResolveDomainRelationship(Partition)

Gets the DomainRelationshipInfo for the DomainClassId

ResolveFindElement(Partition, ElementGroup)

Resolve searching for an element in an existing store

Applies to