/// <summary> /// 用于向 ORDER EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToORDER(ORDER oRDER) { base.AddObject("ORDER", oRDER); }
/// <summary> /// 创建新的 ORDER 对象。 /// </summary> /// <param name="o_id">o_id 属性的初始值。</param> /// <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_isDeleted">order_isDeleted 属性的初始值。</param> /// <param name="order_user">order_user 属性的初始值。</param> /// <param name="order_course">order_course 属性的初始值。</param> /// <param name="order_timestamp">order_timestamp 属性的初始值。</param> public static ORDER CreateORDER(global::System.Int64 o_id, global::System.Guid order_id, global::System.DateTime order_date, global::System.Double order_price, global::System.Boolean order_isPaid, global::System.Boolean order_isDeleted, global::System.Guid order_user, global::System.Guid order_course, global::System.Byte[] order_timestamp) { ORDER oRDER = new ORDER(); oRDER.o_id = o_id; oRDER.order_id = order_id; oRDER.order_date = order_date; oRDER.order_price = order_price; oRDER.order_isPaid = order_isPaid; oRDER.order_isDeleted = order_isDeleted; oRDER.order_user = order_user; oRDER.order_course = order_course; oRDER.order_timestamp = order_timestamp; return oRDER; }