/// <summary> /// Deprecated Method for adding a new object to the SnifferHistograms EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSnifferHistograms(SnifferHistogram snifferHistogram) { base.AddObject("SnifferHistograms", snifferHistogram); }
/// <summary> /// Create a new SnifferHistogram object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="mac">Initial value of the Mac 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> public static SnifferHistogram CreateSnifferHistogram(global::System.Int32 id, global::System.String mac, global::System.Int32 value, global::System.Int32 count, global::System.Int32 wifiMeasurement_ID) { SnifferHistogram snifferHistogram = new SnifferHistogram(); snifferHistogram.ID = id; snifferHistogram.Mac = mac; snifferHistogram.value = value; snifferHistogram.count = count; snifferHistogram.WifiMeasurement_ID = wifiMeasurement_ID; return snifferHistogram; }