コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Jobs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobs(Job job)
 {
     base.AddObject("Jobs", job);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Job object.
 /// </summary>
 /// <param name="jobID">Initial value of the JobID property.</param>
 /// <param name="jobTitle">Initial value of the JobTitle property.</param>
 /// <param name="jobCategory">Initial value of the JobCategory property.</param>
 /// <param name="jobRank">Initial value of the JobRank property.</param>
 public static Job CreateJob(global::System.Int32 jobID, global::System.String jobTitle, global::System.String jobCategory, global::System.Int32 jobRank)
 {
     Job job = new Job();
     job.JobID = jobID;
     job.JobTitle = jobTitle;
     job.JobCategory = jobCategory;
     job.JobRank = jobRank;
     return job;
 }