/// <summary>
 /// Create a new DutyCode object.
 /// </summary>
 /// <param name="codeID">Initial value of the CodeID property.</param>
 /// <param name="dutyName">Initial value of the DutyName property.</param>
 public static DutyCode CreateDutyCode(global::System.String codeID, global::System.String dutyName)
 {
     DutyCode dutyCode = new DutyCode();
     dutyCode.CodeID = codeID;
     dutyCode.DutyName = dutyName;
     return dutyCode;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the DutyCodes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDutyCodes(DutyCode dutyCode)
 {
     base.AddObject("DutyCodes", dutyCode);
 }