Пример #1
0
 /// <summary>
 /// Create a new device object.
 /// </summary>
 /// <param name="device_id">Initial value of the device_id property.</param>
 /// <param name="room_id">Initial value of the room_id property.</param>
 public static device Createdevice(global::System.Int32 device_id, global::System.Int32 room_id)
 {
     device device = new device();
     device.device_id = device_id;
     device.room_id = room_id;
     return device;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the devices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodevices(device device)
 {
     base.AddObject("devices", device);
 }