Compartilhar via


ClosureFindOrCreateAndRelateElementOperation Class

Definition

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

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

Constructors

ClosureFindOrCreateAndRelateElementOperation(ModelElement, DomainRoleInfo, ModelElement, DomainRoleInfo, DomainRelationshipInfo)

Constructor

ClosureFindOrCreateAndRelateElementOperation(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

(Inherited from ClosureFindAndRelateElementOperation)
CopiedTargetElement

The copied element as found in the target store

(Inherited from ClosureFindAndRelateElementOperation)
FoundRoleId

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

(Inherited from ClosureFindAndRelateElementOperation)
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

(Inherited from ClosureFindAndRelateElementOperation)
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)

Perform resolution on this operation

ResolveCopiedTargetElement(Partition, ElementGroup)

Resolves the target element that was copied to the Partition

(Inherited from ClosureFindAndRelateElementOperation)
ResolveCreateElement(Partition)

Resolves creating a new element in the target partition

ResolveCreateElementLink(Partition)

Resolves creating an element link in the target store

(Inherited from ClosureFindAndRelateElementOperation)
ResolveDomainRelationship(Partition)

Gets the DomainRelationshipInfo for the DomainClassId

(Inherited from ClosureFindAndRelateElementOperation)
ResolveFindElement(Partition, ElementGroup)

Resolve searching for an element in an existing store

(Inherited from ClosureFindAndRelateElementOperation)

Applies to