Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Device object.
 /// </summary>
 /// <param name="deviceID">Initial value of the DeviceID property.</param>
 /// <param name="deviceUrl">Initial value of the DeviceUrl property.</param>
 /// <param name="clientID">Initial value of the ClientID property.</param>
 public static Device CreateDevice(global::System.String deviceID, global::System.String deviceUrl, global::System.Int32 clientID)
 {
     Device device = new Device();
     device.DeviceID = deviceID;
     device.DeviceUrl = deviceUrl;
     device.ClientID = clientID;
     return device;
 }
Ejemplo n.º 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);
 }