コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the JobCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobCategories(JobCategory jobCategory)
 {
     base.AddObject("JobCategories", jobCategory);
 }
コード例 #2
0
 /// <summary>
 /// Create a new JobCategory object.
 /// </summary>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="categoryName">Initial value of the CategoryName property.</param>
 public static JobCategory CreateJobCategory(global::System.Int32 categoryID, global::System.String categoryName)
 {
     JobCategory jobCategory = new JobCategory();
     jobCategory.CategoryID = categoryID;
     jobCategory.CategoryName = categoryName;
     return jobCategory;
 }