Class WMProject
  Represents a workflow controlled project
 
  
  
  
  
  
  Assembly: WMServer.dll
  Syntax
  
    public class WMProject : IDbEntity, IWMEntity, IWMPrincipalOwned, IWMOwnableResource, IWMResource
   
  Constructors
  
  WMProject()
  
  
  Declaration
  
  
  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
  
  
  CreatedBy
  ID of the User who created this Project
 
  
  Declaration
  
    public string CreatedBy { get; set; }
   
  Property Value
  
  
  CreatedDate
  Date on which this Project was created
 
  
  Declaration
  
    public DateTime CreatedDate { get; set; }
   
  Property Value
  
  
  Documentation
  ID of the User that last updated this Project
 
  
  Declaration
  
    public string? Documentation { get; set; }
   
  Property Value
  
  
  DocumentationMIMEType
  ID of the User that last updated this Project
 
  
  Declaration
  
    public string? DocumentationMIMEType { get; set; }
   
  Property Value
  
  
  ID
  ID (primary key) of this object.
 
  
  Declaration
  
    public string ID { get; set; }
   
  Property Value
  
  
  LastUpdatedBy
  ID of the User that last updated this Project
 
  
  Declaration
  
    public string LastUpdatedBy { get; set; }
   
  Property Value
  
  
  LastUpdatedDate
  Date on which this Project was last updated.
 
  
  Declaration
  
    public DateTime LastUpdatedDate { get; set; }
   
  Property Value
  
  
  Name
  
  
  Declaration
  
    public string Name { get; set; }
   
  Property Value
  
  
  Owner
  ID of the User that is the current owner of this Project.
 
  
  Declaration
  
    [NotMapped]
public WMPrincipal Owner { get; set; }
   
  Property Value
  
  
  OwnerID
  ID of the Owner of this asset.
 
  
  Declaration
  
    public string OwnerID { get; set; }
   
  Property Value
  
  
  OwnerType
  The owner type of this project.
 
  
  Declaration
  
    [NotMapped]
public string OwnerType { get; set; }
   
  Property Value
  
  
  Summary
  Short summary of the project
 
  
  Declaration
  
    public string? Summary { get; set; }
   
  Property Value
  
  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
  
  Returns
  
  
  Get(WMPrincipal, string, WMAppDbContext)
  
  
  Declaration
  
    public static Task<WMProject> Get(WMPrincipal principal, string id, WMAppDbContext context)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  GetAll(WMPrincipal, WMAppDbContext)
  
  
  Declaration
  
    public static Task<IEnumerable<WMProject>> GetAll(WMPrincipal principal, WMAppDbContext context)
   
  Parameters
  
  Returns
  
  
  ResourceDefinition()
  The resource operation definition for this asset.
 
  
  Declaration
  
    public static WMResourceOperationsDefinition ResourceDefinition()
   
  Returns
  
  Implements