Class DecisionModel
Represents a Decision Model.
Inheritance
DecisionModel
Assembly: WMServer.dll
Syntax
[HasDTO(typeof(DecisionModel))]
public class DecisionModel : DecisionModelBase, IDecisionModelBase, IDocumented, IDbEntity, IWMEntity, IWMPrincipalOwned
Constructors
DecisionModel()
Declaration
DecisionModel(string)
Constructor that specifyies the ID of the new object.
Declaration
public DecisionModel(string ID)
Parameters
Type |
Name |
Description |
string |
ID |
|
Properties
Elements
Declaration
public virtual ICollection<DecisionModelElement>? Elements { get; set; }
Property Value
Owner
Reference to the owner of this model.
Declaration
public virtual WMPrincipal? Owner { get; set; }
Property Value
Methods
AddElementDTOs(IEnumerable<DecisionModelElementDTO>?, DbContext)
Declaration
public Task<List<DecisionModelElementDTO>> AddElementDTOs(IEnumerable<DecisionModelElementDTO>? elements, DbContext context)
Parameters
Returns
Get(string, WMAppDbContext)
Declaration
public static Task<DecisionModel> Get(string id, WMAppDbContext context)
Parameters
Returns
Implements