/// <summary>
 /// Deprecated Method for adding a new object to the UnitMasters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUnitMasters(UnitMaster unitMaster)
 {
     base.AddObject("UnitMasters", unitMaster);
 }
 /// <summary>
 /// Create a new UnitMaster object.
 /// </summary>
 /// <param name="unitId">Initial value of the UnitId property.</param>
 public static UnitMaster CreateUnitMaster(global::System.Int32 unitId)
 {
     UnitMaster unitMaster = new UnitMaster();
     unitMaster.UnitId = unitId;
     return unitMaster;
 }