Epiworx.Data.EntityFramework.Story.CreateStory C# (CSharp) Method

CreateStory() public static method

Create a new Story object.
public static CreateStory ( global storyId, global assignedTo, global assignedDate, global completedDate, global description, global duration, global estimatedCompletedDate, global estimatedDuration, global isArchived, global isCompleted, global projectId, global sprintId, global startDate, global statusId, global modifiedBy, global modifiedDate, global createdBy, global createdDate ) : Story
storyId global Initial value of the StoryId property.
assignedTo global Initial value of the AssignedTo property.
assignedDate global Initial value of the AssignedDate property.
completedDate global Initial value of the CompletedDate property.
description global Initial value of the Description property.
duration global Initial value of the Duration property.
estimatedCompletedDate global Initial value of the EstimatedCompletedDate property.
estimatedDuration global Initial value of the EstimatedDuration property.
isArchived global Initial value of the IsArchived property.
isCompleted global Initial value of the IsCompleted property.
projectId global Initial value of the ProjectId property.
sprintId global Initial value of the SprintId property.
startDate global Initial value of the StartDate property.
statusId global Initial value of the StatusId property.
modifiedBy global Initial value of the ModifiedBy property.
modifiedDate global Initial value of the ModifiedDate property.
createdBy global Initial value of the CreatedBy property.
createdDate global Initial value of the CreatedDate property.
return Story
        public static Story CreateStory(global::System.Int32 storyId, global::System.Int32 assignedTo, global::System.DateTime assignedDate, global::System.DateTime completedDate, global::System.String description, global::System.Decimal duration, global::System.DateTime estimatedCompletedDate, global::System.Decimal estimatedDuration, global::System.Boolean isArchived, global::System.Boolean isCompleted, global::System.Int32 projectId, global::System.Int32 sprintId, global::System.DateTime startDate, global::System.Int32 statusId, global::System.Int32 modifiedBy, global::System.DateTime modifiedDate, global::System.Int32 createdBy, global::System.DateTime createdDate)
        {
            Story story = new Story();
            story.StoryId = storyId;
            story.AssignedTo = assignedTo;
            story.AssignedDate = assignedDate;
            story.CompletedDate = completedDate;
            story.Description = description;
            story.Duration = duration;
            story.EstimatedCompletedDate = estimatedCompletedDate;
            story.EstimatedDuration = estimatedDuration;
            story.IsArchived = isArchived;
            story.IsCompleted = isCompleted;
            story.ProjectId = projectId;
            story.SprintId = sprintId;
            story.StartDate = startDate;
            story.StatusId = statusId;
            story.ModifiedBy = modifiedBy;
            story.ModifiedDate = modifiedDate;
            story.CreatedBy = createdBy;
            story.CreatedDate = createdDate;
            return story;
        }