/// <summary>
 /// Create a new Unit object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Unit CreateUnit(global::System.Int32 id)
 {
     Unit unit = new Unit();
     unit.ID = id;
     return unit;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Units EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUnits(Unit unit)
 {
     base.AddObject("Units", unit);
 }