Ejemplo n.º 1
0
 /// <summary>
 /// Create a new UnitMeasure object.
 /// </summary>
 /// <param name="unitMeasureCode">Initial value of the UnitMeasureCode property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static UnitMeasure CreateUnitMeasure(global::System.String unitMeasureCode, global::System.String name, global::System.DateTime modifiedDate)
 {
     UnitMeasure unitMeasure = new UnitMeasure();
     unitMeasure.UnitMeasureCode = unitMeasureCode;
     unitMeasure.Name = name;
     unitMeasure.ModifiedDate = modifiedDate;
     return unitMeasure;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UnitMeasures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUnitMeasures(UnitMeasure unitMeasure)
 {
     base.AddObject("UnitMeasures", unitMeasure);
 }