/// <summary>
 /// Create a new Dying object.
 /// </summary>
 /// <param name="demandNo">Initial value of the DemandNo property.</param>
 /// <param name="cMC_Decision">Initial value of the CMC_Decision property.</param>
 /// <param name="cMC_DE">Initial value of the CMC_DE property.</param>
 /// <param name="dL">Initial value of the DL property.</param>
 /// <param name="dA">Initial value of the DA property.</param>
 /// <param name="dB">Initial value of the DB property.</param>
 /// <param name="dC">Initial value of the DC property.</param>
 /// <param name="dH">Initial value of the DH property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 public static Dying CreateDying(global::System.Int32 demandNo, global::System.String cMC_Decision, global::System.Double cMC_DE, global::System.Double dL, global::System.Double dA, global::System.Double dB, global::System.Double dC, global::System.Double dH, global::System.DateTime date)
 {
     Dying dying = new Dying();
     dying.DemandNo = demandNo;
     dying.CMC_Decision = cMC_Decision;
     dying.CMC_DE = cMC_DE;
     dying.DL = dL;
     dying.DA = dA;
     dying.DB = dB;
     dying.DC = dC;
     dying.DH = dH;
     dying.Date = date;
     return dying;
 }
 //Insert
 public void Add(Dying d)
 {
     entities.Dyings.AddObject(d);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Dyings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDyings(Dying dying)
 {
     base.AddObject("Dyings", dying);
 }