/// <summary> /// Deprecated Method for adding a new object to the ScriptQueues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToScriptQueues(ScriptQueue scriptQueue) { base.AddObject("ScriptQueues", scriptQueue); }
/// <summary> /// Create a new ScriptQueue object. /// </summary> /// <param name="scriptQueueId">Initial value of the ScriptQueueId property.</param> /// <param name="accountId">Initial value of the AccountId property.</param> /// <param name="scriptName">Initial value of the ScriptName property.</param> /// <param name="priority">Initial value of the Priority property.</param> /// <param name="requestTime">Initial value of the RequestTime property.</param> /// <param name="status">Initial value of the Status property.</param> public static ScriptQueue CreateScriptQueue(global::System.Int32 scriptQueueId, global::System.Int32 accountId, global::System.String scriptName, global::System.Int32 priority, global::System.DateTime requestTime, global::System.Int32 status) { ScriptQueue scriptQueue = new ScriptQueue(); scriptQueue.ScriptQueueId = scriptQueueId; scriptQueue.AccountId = accountId; scriptQueue.ScriptName = scriptName; scriptQueue.Priority = priority; scriptQueue.RequestTime = requestTime; scriptQueue.Status = status; return scriptQueue; }