Partilhar via


ElementFactory Class

Definition

A factory of domain model objects.

public ref class ElementFactory
public class ElementFactory
type ElementFactory = class
Public Class ElementFactory
Inheritance
ElementFactory

Fields

IdPropertyAssignment

This Guid is used to construct an Id property assignment which sets the element Id when a new ModelElement is created. Note that this property assignment must be the last one in the assignment list, and the value needs to be a valid Guid.

Properties

Store

Methods

CreateElement(DomainClassInfo, PropertyAssignment[])

Create a new element instance of specified type.

CreateElement(DomainClassInfo)

Create a new element instance of specified type.

CreateElement(Guid, PropertyAssignment[])

Create a new element instance of specified type.

CreateElement(Guid)

Create a new element instance of specified type.

CreateElementLink(DomainRelationshipInfo, Boolean, RoleAssignment[])

Creates a new element link.

CreateElementLink(DomainRelationshipInfo, PropertyAssignment[], RoleAssignment[])

Creates a new element link.

CreateElementLink(DomainRelationshipInfo, RoleAssignment[])

Creates a new element link.

CreateElementLink(Guid, Boolean, RoleAssignment[])

Creates a new element link.

CreateElementLink(Guid, PropertyAssignment[], RoleAssignment[])

Creates a new element link.

CreateElementLink(Guid, RoleAssignment[])

Creates a new element link.

GetPartitionForClass(DomainClassInfo)

Get the Partition to be used for creating elements of the specified class

Applies to