共用方式為


ClosureFindOrCreateAndRelateElementOperation Constructors

Definition

Overloads

ClosureFindOrCreateAndRelateElementOperation(SerializationInfo, StreamingContext)

Protected constructor. It is executed during deserialization.

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

Constructor

ClosureFindOrCreateAndRelateElementOperation(SerializationInfo, StreamingContext)

Protected constructor. It is executed during deserialization.

protected:
 ClosureFindOrCreateAndRelateElementOperation(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ClosureFindOrCreateAndRelateElementOperation (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Modeling.ClosureFindOrCreateAndRelateElementOperation : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Modeling.ClosureFindOrCreateAndRelateElementOperation
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

SerializationInfo

context
StreamingContext

StreamContext

Applies to

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

Constructor

public:
 ClosureFindOrCreateAndRelateElementOperation(Microsoft::VisualStudio::Modeling::ModelElement ^ copiedSourceElement, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ copiedSourceRoleInfo, Microsoft::VisualStudio::Modeling::ModelElement ^ foundElement, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ foundRoleInfo, Microsoft::VisualStudio::Modeling::DomainRelationshipInfo ^ domainRelationshipInfo);
public ClosureFindOrCreateAndRelateElementOperation (Microsoft.VisualStudio.Modeling.ModelElement copiedSourceElement, Microsoft.VisualStudio.Modeling.DomainRoleInfo copiedSourceRoleInfo, Microsoft.VisualStudio.Modeling.ModelElement foundElement, Microsoft.VisualStudio.Modeling.DomainRoleInfo foundRoleInfo, Microsoft.VisualStudio.Modeling.DomainRelationshipInfo domainRelationshipInfo);
new Microsoft.VisualStudio.Modeling.ClosureFindOrCreateAndRelateElementOperation : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.DomainRelationshipInfo -> Microsoft.VisualStudio.Modeling.ClosureFindOrCreateAndRelateElementOperation
Public Sub New (copiedSourceElement As ModelElement, copiedSourceRoleInfo As DomainRoleInfo, foundElement As ModelElement, foundRoleInfo As DomainRoleInfo, domainRelationshipInfo As DomainRelationshipInfo)

Parameters

copiedSourceElement
ModelElement

The element that will be copied into the target store

copiedSourceRoleInfo
DomainRoleInfo

The Role of the copied element in the relationship

foundElement
ModelElement

The element that must be searched for and found in the target.

foundRoleInfo
DomainRoleInfo

The Role of the foundElement in the relationship

domainRelationshipInfo
DomainRelationshipInfo

The relationship that must be created

Applies to