/// <summary> /// Create a new Pump object. /// </summary> /// <param name="id">Initial value of Id.</param> /// <param name="gPIO">Initial value of GPIO.</param> public static Pump CreatePump(int id, int gPIO) { Pump pump = new Pump(); pump.Id = id; pump.GPIO = gPIO; return pump; }
/// <summary> /// Deprecated Method for adding a new object to the Pumps EntitySet. /// </summary> public void AddToPumps(Pump pump) { base.AddObject("Pumps", pump); }