Exemplo n.º 1
0
 /// <summary>
 /// Create a new CourseCategory object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="courseCategory_Course">Initial value of the CourseCategory_Course property.</param>
 /// <param name="courseCategory_Category">Initial value of the CourseCategory_Category property.</param>
 public static CourseCategory CreateCourseCategory(global::System.Int32 id, global::System.Int32 courseCategory_Course, global::System.Int32 courseCategory_Category)
 {
     CourseCategory courseCategory = new CourseCategory();
     courseCategory.Id = id;
     courseCategory.CourseCategory_Course = courseCategory_Course;
     courseCategory.CourseCategory_Category = courseCategory_Category;
     return courseCategory;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CourseCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCourseCategories(CourseCategory courseCategory)
 {
     base.AddObject("CourseCategories", courseCategory);
 }