示例#1
0
 /// <summary>
 /// 用于向 UserCourseList EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToUserCourseList(UserCourseList userCourseList)
 {
     base.AddObject("UserCourseList", userCourseList);
 }
示例#2
0
 /// <summary>
 /// 创建新的 UserCourseList 对象。
 /// </summary>
 /// <param name="order_id">order_id 属性的初始值。</param>
 /// <param name="order_date">order_date 属性的初始值。</param>
 /// <param name="order_price">order_price 属性的初始值。</param>
 /// <param name="order_isPaid">order_isPaid 属性的初始值。</param>
 /// <param name="order_user">order_user 属性的初始值。</param>
 /// <param name="order_course">order_course 属性的初始值。</param>
 /// <param name="course_id">course_id 属性的初始值。</param>
 /// <param name="course_name">course_name 属性的初始值。</param>
 /// <param name="course_intro">course_intro 属性的初始值。</param>
 /// <param name="course_robot_link">course_robot_link 属性的初始值。</param>
 /// <param name="course_price">course_price 属性的初始值。</param>
 /// <param name="course_begin_date">course_begin_date 属性的初始值。</param>
 /// <param name="course_isDeleted">course_isDeleted 属性的初始值。</param>
 /// <param name="user_id">user_id 属性的初始值。</param>
 public static UserCourseList CreateUserCourseList(global::System.Guid order_id, global::System.DateTime order_date, global::System.Double order_price, global::System.Boolean order_isPaid, global::System.Guid order_user, global::System.Guid order_course, global::System.Guid course_id, global::System.String course_name, global::System.String course_intro, global::System.String course_robot_link, global::System.Double course_price, global::System.DateTime course_begin_date, global::System.Boolean course_isDeleted, global::System.Guid user_id)
 {
     UserCourseList userCourseList = new UserCourseList();
     userCourseList.order_id = order_id;
     userCourseList.order_date = order_date;
     userCourseList.order_price = order_price;
     userCourseList.order_isPaid = order_isPaid;
     userCourseList.order_user = order_user;
     userCourseList.order_course = order_course;
     userCourseList.course_id = course_id;
     userCourseList.course_name = course_name;
     userCourseList.course_intro = course_intro;
     userCourseList.course_robot_link = course_robot_link;
     userCourseList.course_price = course_price;
     userCourseList.course_begin_date = course_begin_date;
     userCourseList.course_isDeleted = course_isDeleted;
     userCourseList.user_id = user_id;
     return userCourseList;
 }