Ejemplo n.º 1
0
        /** CONSTRUCTORS **/

        public Issue(int id, int projectId, string title, int categoryId, int milestoneId, int priorityId, int statusId, int assignedId, int ownerId, string creatorUsername)
            : this
            (
                id,
                projectId,
                title,
                categoryId,
                String.Empty,
                milestoneId,
                String.Empty,
                String.Empty,
                priorityId,
                String.Empty,
                String.Empty,
                statusId,
                String.Empty,
                String.Empty,
                String.Empty,
                assignedId,
                String.Empty,
                ownerId,
                creatorUsername,
                DefaultValues.GetUserIdMinValue(),
                creatorUsername,
                DefaultValues.GetDateTimeMinValue()
            )
        {
        }
Ejemplo n.º 2
0
 public Project(int id, string name, string description, int managerId, string creatorUsername)
     : this(id, name, description, managerId, String.Empty, creatorUsername, String.Empty, DefaultValues.GetDateTimeMinValue())
 {
 }
Ejemplo n.º 3
0
 /*** CONSTRUCTOR ***/
 public IssueComment(int issueId, string comment, string creatorUsername)
     : this(DefaultValues.GetIssueCommentIdMinValue(), issueId, comment, creatorUsername, String.Empty, DefaultValues.GetDateTimeMinValue())
 {
 }
Ejemplo n.º 4
0
 public IssueAttachment(int issueId, string creatorUsername, string fileName, string contentType, byte[] attachment)
     : this(DefaultValues.GetIssueAttachmentIdMinValue(), issueId, creatorUsername, String.Empty, DefaultValues.GetDateTimeMinValue(), fileName, contentType, attachment)
 {
 }
Ejemplo n.º 5
0
 public IssueAttachment(string fileName, string contentType, byte[] attachment)
     : this(DefaultValues.GetIssueAttachmentIdMinValue(), DefaultValues.GetIssueIdMinValue(), String.Empty, String.Empty, DefaultValues.GetDateTimeMinValue(), fileName, contentType, attachment)
 {
 }