Ejemplo n.º 1
0
 /// <summary>
 /// Create a new QueuedTask object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="storeId">Initial value of the StoreId property.</param>
 /// <param name="friendlyName">Initial value of the FriendlyName property.</param>
 /// <param name="taskProcessorName">Initial value of the TaskProcessorName property.</param>
 /// <param name="taskProcessorId">Initial value of the TaskProcessorId property.</param>
 /// <param name="payload">Initial value of the Payload property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="statusNotes">Initial value of the StatusNotes property.</param>
 /// <param name="startAtUtc">Initial value of the StartAtUtc property.</param>
 public static QueuedTask CreateQueuedTask(global::System.Int64 id, global::System.Int64 storeId, global::System.String friendlyName, global::System.String taskProcessorName, global::System.Guid taskProcessorId, global::System.String payload, global::System.Int32 status, global::System.String statusNotes, global::System.DateTime startAtUtc)
 {
     QueuedTask queuedTask = new QueuedTask();
     queuedTask.Id = id;
     queuedTask.StoreId = storeId;
     queuedTask.FriendlyName = friendlyName;
     queuedTask.TaskProcessorName = taskProcessorName;
     queuedTask.TaskProcessorId = taskProcessorId;
     queuedTask.Payload = payload;
     queuedTask.Status = status;
     queuedTask.StatusNotes = statusNotes;
     queuedTask.StartAtUtc = startAtUtc;
     return queuedTask;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the QueuedTasks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToQueuedTasks(QueuedTask queuedTask)
 {
     base.AddObject("QueuedTasks", queuedTask);
 }