Class DecisionModel
Represents a Decision Model.
Inheritance
DecisionModel
Assembly: WMServer.dll
Syntax
[HasDTO(typeof(DecisionModel))]
public class DecisionModel : DecisionModelBase, IDocumentedEntity, INamedEntity, 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
Assets
Declaration
public virtual ICollection<IWMAsset>? Assets { get; set; }
Property Value
Elements
Declaration
public virtual ICollection<DecisionModelElement>? Elements { get; set; }
Property Value
Owner
Reference to the principal of this model.
Declaration
public virtual WMPrincipal? Owner { get; set; }
Property Value
Methods
AddElementDTOs(WMPrincipal, IEnumerable<DecisionModelElementDTO>?, WMAppDbContext)
Declaration
public Task<List<DecisionModelElementDTO>> AddElementDTOs(WMPrincipal principal, IEnumerable<DecisionModelElementDTO>? elements, WMAppDbContext context)
Parameters
Returns
CreateFullyQualifiedName(IFullyQualifiable, string)
Declaration
public static string CreateFullyQualifiedName(IFullyQualifiable parent, string name)
Parameters
Returns
Get(WMPrincipal, string, WMAppDbContext)
Declaration
public static Task<DecisionModel> Get(WMPrincipal principal, string id, WMAppDbContext context)
Parameters
Returns
GetSimulations(WMPrincipal, string, WMAppDbContext)
Declaration
public static Task<IEnumerable<OpenDISimulation>> GetSimulations(WMPrincipal principal, string ID, WMAppDbContext context)
Parameters
Returns
Implements