Epiworx.Data.EntityFramework.Status.CreateStatus C# (CSharp) Method

CreateStatus() public static method

Create a new Status object.
public static CreateStatus ( global statusId, global description, global isActive, global isArchived, global isCompleted, global isStarted, global name, global ordinal, global projectId, global createdBy, global createdDate, global modifiedBy, global modifiedDate ) : Status
statusId global Initial value of the StatusId property.
description global Initial value of the Description property.
isActive global Initial value of the IsActive property.
isArchived global Initial value of the IsArchived property.
isCompleted global Initial value of the IsCompleted property.
isStarted global Initial value of the IsStarted property.
name global Initial value of the Name property.
ordinal global Initial value of the Ordinal property.
projectId global Initial value of the ProjectId property.
createdBy global Initial value of the CreatedBy property.
createdDate global Initial value of the CreatedDate property.
modifiedBy global Initial value of the ModifiedBy property.
modifiedDate global Initial value of the ModifiedDate property.
return Status
        public static Status CreateStatus(global::System.Int32 statusId, global::System.String description, global::System.Boolean isActive, global::System.Boolean isArchived, global::System.Boolean isCompleted, global::System.Boolean isStarted, global::System.String name, global::System.Int32 ordinal, global::System.Int32 projectId, global::System.Int32 createdBy, global::System.DateTime createdDate, global::System.Int32 modifiedBy, global::System.DateTime modifiedDate)
        {
            Status status = new Status();
            status.StatusId = statusId;
            status.Description = description;
            status.IsActive = isActive;
            status.IsArchived = isArchived;
            status.IsCompleted = isCompleted;
            status.IsStarted = isStarted;
            status.Name = name;
            status.Ordinal = ordinal;
            status.ProjectId = projectId;
            status.CreatedBy = createdBy;
            status.CreatedDate = createdDate;
            status.ModifiedBy = modifiedBy;
            status.ModifiedDate = modifiedDate;
            return status;
        }