Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UnitOfMeasures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUnitOfMeasures(UnitOfMeasure unitOfMeasure)
 {
     base.AddObject("UnitOfMeasures", unitOfMeasure);
 }
Пример #2
0
 /// <summary>
 /// Create a new UnitOfMeasure object.
 /// </summary>
 /// <param name="unitOfMeasureID">Initial value of the UnitOfMeasureID property.</param>
 public static UnitOfMeasure CreateUnitOfMeasure(global::System.Int32 unitOfMeasureID)
 {
     UnitOfMeasure unitOfMeasure = new UnitOfMeasure();
     unitOfMeasure.UnitOfMeasureID = unitOfMeasureID;
     return unitOfMeasure;
 }