/// <summary> /// Create a new RequiredCommand object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="roomActivityId">Initial value of the RoomActivityId property.</param> /// <param name="deviceCommandId">Initial value of the DeviceCommandId property.</param> /// <param name="sequence">Initial value of the Sequence property.</param> public static RequiredCommand CreateRequiredCommand(global::System.Int32 id, global::System.Int32 roomActivityId, global::System.Int32 deviceCommandId, global::System.Int32 sequence) { RequiredCommand requiredCommand = new RequiredCommand(); requiredCommand.Id = id; requiredCommand.RoomActivityId = roomActivityId; requiredCommand.DeviceCommandId = deviceCommandId; requiredCommand.Sequence = sequence; return requiredCommand; }
/// <summary> /// Deprecated Method for adding a new object to the RequiredCommands EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRequiredCommands(RequiredCommand requiredCommand) { base.AddObject("RequiredCommands", requiredCommand); }