示例#1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="deliverablesAndResults"></param>
 /// <param name="schedule"></param>
 /// <param name="capacityResource"></param>
 /// <param name="scope"></param>
 /// <param name="clientSatisfication"></param>
 /// <param name="issuesAndRisks"></param>
 /// <param name="useOfTestcontrol"></param>
 /// <param name="employeeSatisfcation"></param>
 public Delivery(int deliveryID, StatusItem deliverablesAndResults, StatusItem schedule, StatusItem capacityResource,
     StatusItem scope, StatusItem clientSatisfication, StatusItem issuesAndRisks, StatusItem useOfTestcontrol,
     StatusItem employeeSatisfcation)
 {
     this.DeliveryId = deliveryID;
     this.DeliverablesAndResults = deliverablesAndResults;
     this.Schedule = schedule;
     this.CapacityResource = capacityResource;
     this.Scope = scope;
     this.ClientSatisfaction = clientSatisfication;
     this.IssuesAndRisks = issuesAndRisks;
     this.UseOfTestControl = useOfTestcontrol;
     this.EmployeeSatisfaction = employeeSatisfcation;
 }
示例#2
0
        public static StatusItem GetStatusItem(int statusItemID)
        {
            StatusItem item = null;

            using (DataSet dsStatusItemDetails = DAL.StatusItem.GetStatusItem(statusItemID))
            {
                if ((dsStatusItemDetails != null) && (dsStatusItemDetails.Tables.Count > 0))
                {
                    item = new StatusItem(Convert.ToInt32(dsStatusItemDetails.Tables[0].Rows[0]["StatusItemID"]),
                        (BAL.Status)Convert.ToChar(dsStatusItemDetails.Tables[0].Rows[0]["Status"]),
                        dsStatusItemDetails.Tables[0].Rows[0]["Comment"].ToString());
                }
            }

            return item;
        }
示例#3
0
 public void Add(StatusItem item)
 {
     context.StatusItem.Add(item);
     context.SaveChanges();
 }
示例#4
0
 public BusinessDevelopment(int id, StatusItem knownOpportunity, StatusItem clientContract)
 {
     this.KnownOpportunity = knownOpportunity;
     this.ClientContact    = clientContract;
 }
示例#5
0
 public void Add(StatusItem item)
 {
     context.StatusItem.Add(item);
     context.SaveChanges();
 }
示例#6
0
 public BusinessDevelopment(int id, StatusItem knownOpportunity, StatusItem clientContract)
 {
     this.KnownOpportunity = knownOpportunity;
     this.ClientContact = clientContract;
 }
示例#7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="deliverablesAndResults"></param>
 /// <param name="schedule"></param>
 /// <param name="capacityResource"></param>
 /// <param name="scope"></param>
 /// <param name="clientSatisfication"></param>
 /// <param name="issuesAndRisks"></param>
 /// <param name="useOfTestcontrol"></param>
 /// <param name="employeeSatisfcation"></param>
 public Delivery(int deliveryID, StatusItem deliverablesAndResults, StatusItem schedule, StatusItem capacityResource,
                 StatusItem scope, StatusItem clientSatisfication, StatusItem issuesAndRisks, StatusItem useOfTestcontrol,
                 StatusItem employeeSatisfcation)
 {
     this.DeliveryId             = deliveryID;
     this.DeliverablesAndResults = deliverablesAndResults;
     this.Schedule             = schedule;
     this.CapacityResource     = capacityResource;
     this.Scope                = scope;
     this.ClientSatisfaction   = clientSatisfication;
     this.IssuesAndRisks       = issuesAndRisks;
     this.UseOfTestControl     = useOfTestcontrol;
     this.EmployeeSatisfaction = employeeSatisfcation;
 }