Ejemplo n.º 1
0
        internal Project(PeygirDatabaseDataSet.ProjectsRow row)
        {
            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            ID = row.ID;
            name = row.Name;
            description = row.Description;
            displayOrder = row.DisplayOrder;
        }
Ejemplo n.º 2
0
        internal Attachment(PeygirDatabaseDataSet.AttachmentsWithoutContentsRow row)
        {
            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            ID = row.ID;
            ticketID = row.TicketID;
            name = row.Name;
            size = row.Size;
            contents = Convert.ToBase64String(new byte[0]);
        }
Ejemplo n.º 3
0
        internal Attachment(PeygirDatabaseDataSet.AttachmentsRow row)
        {
            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            ID = row.ID;
            ticketID = row.TicketID;
            name = row.Name;
            size = row.Size;
            contents = row.Contents;
        }
Ejemplo n.º 4
0
        internal TicketHistory(PeygirDatabaseDataSet.TicketsHistoryRow row)
        {
            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            ID = row.ID;
            ticketID = row.TicketID;
            timestamp = row.Timestamp;
            changes = row.Changes;
            comment = row.Comment;
        }
Ejemplo n.º 5
0
        internal Milestone(PeygirDatabaseDataSet.MilestonesRow row)
        {
            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            ID = row.ID;
            projectID = row.ProjectID;
            name = row.Name;
            description = row.Description;
            state = (MilestoneState)row.State;
            displayOrder = row.DisplayOrder;
        }
Ejemplo n.º 6
0
        internal Ticket(PeygirDatabaseDataSet.TicketsRow row)
        {
            if (row == null)
            {
                throw new ArgumentNullException("row");
            }

            ID = row.ID;
            milestoneID = row.MilestoneID;
            ticketNumber = row.TicketNumber;
            summary = row.Summary;
            reportedBy = row.ReportedBy;
            type = (TicketType)row.Type;
            severity = (TicketSeverity)row.Severity;
            state = (TicketState)row.State;
            assignedTo = row.AssignedTo;
            priority = (TicketPriority)row.Priority;
            description = row.Description;
        }