/// <summary>
 /// Deprecated Method for adding a new object to the UnitOfMeasurements EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUnitOfMeasurements(UnitOfMeasurement unitOfMeasurement)
 {
     base.AddObject("UnitOfMeasurements", unitOfMeasurement);
 }
 /// <summary>
 /// Create a new UnitOfMeasurement object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static UnitOfMeasurement CreateUnitOfMeasurement(global::System.Int32 id, global::System.String name)
 {
     UnitOfMeasurement unitOfMeasurement = new UnitOfMeasurement();
     unitOfMeasurement.Id = id;
     unitOfMeasurement.Name = name;
     return unitOfMeasurement;
 }