Show / Hide Table of Contents

Class DecisionModelDTO

Data Transfer Object proxy for a DecisionModel.

Inheritance
object
DataTransferObject<DecisionModel>
DecisionModelDTO
Implements
IDbEntity
IWMEntity
Inherited Members
DataTransferObject<DecisionModel>.ID
DataTransferObject<DecisionModel>.ModelObject
DataTransferObject<DecisionModel>.SetID(string)
DataTransferObject<DecisionModel>.CreateModel(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 DecisionModelDTO : DataTransferObject<DecisionModel>, IDbEntity, IWMEntity
Remarks

The properties of the DecisionModel are populated, but the list of elements is deferred.

Constructors

DecisionModelDTO()

Declaration
public DecisionModelDTO()

DecisionModelDTO(string)

Declaration
public DecisionModelDTO(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

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

Name

Name of the Decision Model

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

OwnerID

Owner of the Decision Model

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

OwnerType

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

Summary

Short summary of this object.

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

Methods

FromModel()

Create this instance by reading properties from a DecisionModel

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

Get(WMPrincipal, WMAppDbContext)

Declaration
public static Task<IEnumerable<DecisionModelDTO>> Get(WMPrincipal principal, WMAppDbContext dbContext)
Parameters
Type Name Description
WMPrincipal principal
WMAppDbContext dbContext
Returns
Type Description
Task<IEnumerable<DecisionModelDTO>>

Get(WMPrincipal, string, WMAppDbContext)

Declaration
public static Task<DecisionModelDTO> Get(WMPrincipal principal, string id, WMAppDbContext context)
Parameters
Type Name Description
WMPrincipal principal
string id
WMAppDbContext context
Returns
Type Description
Task<DecisionModelDTO>
Exceptions
Type Condition
Exception

UpdateModel(WMPrincipal, DbContext, object[]?)

Declaration
public override Task<DecisionModel> UpdateModel(WMPrincipal principal, DbContext context, object[]? data = null)
Parameters
Type Name Description
WMPrincipal principal
DbContext context
object[] data
Returns
Type Description
Task<DecisionModel>
Overrides
DataTransferObject<DecisionModel>.UpdateModel(WMPrincipal, DbContext, object[])

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