Show / Hide Table of Contents

Class WMProject

Represents a workflow controlled project

Inheritance
object
WMProject
Implements
IDbEntity
IWMEntity
IWMPrincipalOwned
IWMOwnableResource
IWMResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Workflow
Assembly: WMServer.dll
Syntax
public class WMProject : IDbEntity, IWMEntity, IWMPrincipalOwned, IWMOwnableResource, IWMResource

Constructors

WMProject()

Default constructor

Declaration
public WMProject()

WMProject(string)

Constructor where ID is set.

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

Properties

Assets

List of Assets included in this project

Declaration
[NotMapped]
public List<WMProjectAsset> Assets { get; }
Property Value
Type Description
List<WMProjectAsset>

CreatedBy

ID of the User who created this Project

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

CreatedDate

Date on which this Project was created

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

Documentation

ID of the User that last updated this Project

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

DocumentationMIMEType

ID of the User that last updated this Project

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

ID

ID (primary key) of this object.

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

LastUpdatedBy

ID of the User that last updated this Project

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

LastUpdatedDate

Date on which this Project was last updated.

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

Name

Name of the project

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

Owner

ID of the User that is the current owner of this Project.

Declaration
[NotMapped]
public WMPrincipal Owner { get; set; }
Property Value
Type Description
WMPrincipal

OwnerID

ID of the Owner of this asset.

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

OwnerType

The owner type of this project.

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

Summary

Short summary of the project

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

Methods

Create(WMPrincipal, WMAppDbContext, WMProjectArgs)

Factory method to create a new WMProject Instance.

Declaration
public static Task<WMProject> Create(WMPrincipal principal, WMAppDbContext context, WMProjectArgs args)
Parameters
Type Name Description
WMPrincipal principal
WMAppDbContext context
WMProjectArgs args
Returns
Type Description
Task<WMProject>

Get(WMPrincipal, string, WMAppDbContext)

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

GetAll(WMPrincipal, WMAppDbContext)

Declaration
public static Task<IEnumerable<WMProject>> GetAll(WMPrincipal principal, WMAppDbContext context)
Parameters
Type Name Description
WMPrincipal principal
WMAppDbContext context
Returns
Type Description
Task<IEnumerable<WMProject>>

ResourceDefinition()

The resource operation definition for this asset.

Declaration
public static WMResourceOperationsDefinition ResourceDefinition()
Returns
Type Description
WMResourceOperationsDefinition

Implements

IDbEntity
IWMEntity
IWMPrincipalOwned
IWMOwnableResource
IWMResource
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