/// <summary> /// Deprecated Method for adding a new object to the Histograms EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHistograms(Histogram histogram) { base.AddObject("Histograms", histogram); }
/// <summary> /// Create a new Histogram object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="value">Initial value of the value property.</param> /// <param name="count">Initial value of the count property.</param> /// <param name="wifiMeasurement_ID">Initial value of the WifiMeasurement_ID property.</param> /// <param name="mac">Initial value of the Mac property.</param> public static Histogram CreateHistogram(global::System.Int32 id, global::System.Int32 value, global::System.Int32 count, global::System.Int32 wifiMeasurement_ID, global::System.String mac) { Histogram histogram = new Histogram(); histogram.ID = id; histogram.value = value; histogram.count = count; histogram.WifiMeasurement_ID = wifiMeasurement_ID; histogram.Mac = mac; return histogram; }