/// <summary>
 /// Create a new StkDefStat object.
 /// </summary>
 /// <param name="defectStatusId">Initial value of DefectStatusId.</param>
 /// <param name="defectStatusName">Initial value of DefectStatusName.</param>
 public static StkDefStat CreateStkDefStat(long defectStatusId, string defectStatusName)
 {
     StkDefStat stkDefStat = new StkDefStat();
     stkDefStat.DefectStatusId = defectStatusId;
     stkDefStat.DefectStatusName = defectStatusName;
     return stkDefStat;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the StkDefStats EntitySet.
 /// </summary>
 public void AddToStkDefStats(StkDefStat stkDefStat)
 {
     base.AddObject("StkDefStats", stkDefStat);
 }