/// <summary> /// Create a new LecturerCategory object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static LecturerCategory CreateLecturerCategory(global::System.Int32 id, global::System.String name) { LecturerCategory lecturerCategory = new LecturerCategory(); lecturerCategory.Id = id; lecturerCategory.Name = name; return lecturerCategory; }
/// <summary> /// Deprecated Method for adding a new object to the LecturerCategorySet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLecturerCategorySet(LecturerCategory lecturerCategory) { base.AddObject("LecturerCategorySet", lecturerCategory); }