Ejemplo n.º 1
0
 /// <summary>
 /// Create a new DiscreteMeasurement object.
 /// </summary>
 /// <param name="discreteMeasurementID">Initial value of the DiscreteMeasurementID property.</param>
 /// <param name="measurementTime">Initial value of the MeasurementTime property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 public static DiscreteMeasurement CreateDiscreteMeasurement(global::System.Decimal discreteMeasurementID, global::System.DateTime measurementTime, global::System.DateTime lastModified)
 {
     DiscreteMeasurement discreteMeasurement = new DiscreteMeasurement();
     discreteMeasurement.DiscreteMeasurementID = discreteMeasurementID;
     discreteMeasurement.MeasurementTime = measurementTime;
     discreteMeasurement.LastModified = lastModified;
     return discreteMeasurement;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DiscreteMeasurements EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDiscreteMeasurements(DiscreteMeasurement discreteMeasurement)
 {
     base.AddObject("DiscreteMeasurements", discreteMeasurement);
 }