コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SavedJobs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSavedJobs(SavedJob savedJob)
 {
     base.AddObject("SavedJobs", savedJob);
 }
コード例 #2
0
 /// <summary>
 /// Create a new SavedJob object.
 /// </summary>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="workingDirectory">Initial value of the WorkingDirectory property.</param>
 /// <param name="runCommand">Initial value of the RunCommand property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="jobName">Initial value of the JobName property.</param>
 public static SavedJob CreateSavedJob(global::System.String title, global::System.String workingDirectory, global::System.String runCommand, global::System.String status, global::System.String jobName)
 {
     SavedJob savedJob = new SavedJob();
     savedJob.Title = title;
     savedJob.WorkingDirectory = workingDirectory;
     savedJob.RunCommand = runCommand;
     savedJob.Status = status;
     savedJob.JobName = jobName;
     return savedJob;
 }