Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Measure object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="nAME">Initial value of the NAME property.</param>
 public static Measure CreateMeasure(global::System.Guid id, global::System.String nAME)
 {
     Measure measure = new Measure();
     measure.Id = id;
     measure.NAME = nAME;
     return measure;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Measures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMeasures(Measure measure)
 {
     base.AddObject("Measures", measure);
 }