Show / Hide Table of Contents

Class DecisionModelElementDTO

DataTransferObject<T> proxy for a DecisionModelElement.

Inheritance
object
DataTransferObject<DecisionModelElement>
DecisionModelElementDTO
Implements
IDbEntity
IWMEntity
Inherited Members
DataTransferObject<DecisionModelElement>.ModelObject
DataTransferObject<DecisionModelElement>.SetID(string)
DataTransferObject<DecisionModelElement>.UpdateModel(WMPrincipal, DbContext, object[])
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.DecisionModeler
Assembly: WMServer.dll
Syntax
public class DecisionModelElementDTO : DataTransferObject<DecisionModelElement>, IDbEntity, IWMEntity

Constructors

DecisionModelElementDTO()

Constructor for WMAssetDirectoryDTO

Declaration
public DecisionModelElementDTO()

DecisionModelElementDTO(string)

Constructor for WMAssetDirectoryDTO specifying ID

Declaration
public DecisionModelElementDTO(string id)
Parameters
Type Name Description
string id

Properties

CreatedBy

ID of the user that created this entity.

Declaration
public string CreatedBy { get; set; }
Property Value
Type Description
string

CreatedDate

Date and time at which this entity was last updated.

Declaration
public DateTime CreatedDate { get; set; }
Property Value
Type Description
DateTime

Documentation

Longer, formatted description of this object

Declaration
public string? Documentation { get; set; }
Property Value
Type Description
string

DocumentationMIMEType

MIME type of the Documentation.

Declaration
public string? DocumentationMIMEType { get; set; }
Property Value
Type Description
string

Expression

Declaration
public string? Expression { get; set; }
Property Value
Type Description
string

ID

Declaration
public string ID { get; set; }
Property Value
Type Description
string

Identifier

Declaration
public string? Identifier { get; set; }
Property Value
Type Description
string

LastUpdatedBy

ID of the user that last updated this entity.

Declaration
public string LastUpdatedBy { get; set; }
Property Value
Type Description
string

LastUpdatedDate

Date and time at which this entity was last updated.

Declaration
public DateTime LastUpdatedDate { get; set; }
Property Value
Type Description
DateTime

ModelID

Declaration
public string ModelID { get; set; }
Property Value
Type Description
string

Name

Name of this object.

Declaration
public string? Name { get; set; }
Property Value
Type Description
string

ParentID

Declaration
public string ParentID { get; set; }
Property Value
Type Description
string

Properties

Custom properties defined by the user

Declaration
[NotMapped]
public Dictionary<string, string> Properties { get; }
Property Value
Type Description
Dictionary<string, string>

PropertiesSerialized

Custom properties defined by the user. Serializes to and from Properties

Declaration
public string PropertiesSerialized { get; set; }
Property Value
Type Description
string

Role

Declaration
public string Role { get; set; }
Property Value
Type Description
string

Summary

Short summary of this object.

Declaration
public string? Summary { get; set; }
Property Value
Type Description
string

Type

Declaration
public string Type { get; set; }
Property Value
Type Description
string

Methods

CreateModel(WMPrincipal, DbContext, object[]?)

Create an instance of a class derived from DecisionModelElement whose type depends on the "Type" property, and whose properties are populated from this DecisionModelElementDTO.

Declaration
public override Task<DecisionModelElement> CreateModel(WMPrincipal principal, DbContext context, object[]? data = null)
Parameters
Type Name Description
WMPrincipal principal
DbContext context
object[] data The data array should be populated as follows:
[0]: The DecisionModel reference [1]: The subtype to create (as a Type object).
Returns
Type Description
Task<DecisionModelElement>
Overrides
DataTransferObject<DecisionModelElement>.CreateModel(WMPrincipal, DbContext, object[])

FromModel()

Declaration
public override void FromModel()
Overrides
DataTransferObject<DecisionModelElement>.FromModel()

Implements

IDbEntity
IWMEntity
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE