/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Devices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDevices(Device device) { base.AddObject("Devices", device); }