Exemplo n.º 1
0
 /// <summary>
 /// 创建新的 ordered 对象。
 /// </summary>
 /// <param name="email">email 属性的初始值。</param>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="pcount">pcount 属性的初始值。</param>
 /// <param name="orderid">orderid 属性的初始值。</param>
 /// <param name="address">address 属性的初始值。</param>
 /// <param name="delivered">delivered 属性的初始值。</param>
 /// <param name="cardnum">cardnum 属性的初始值。</param>
 /// <param name="arrive">arrive 属性的初始值。</param>
 /// <param name="total">total 属性的初始值。</param>
 public static ordered Createordered(global::System.String email, global::System.Int32 id, global::System.Int32 pcount, global::System.Int32 orderid, global::System.String address, global::System.Boolean delivered, global::System.Single cardnum, global::System.String arrive, global::System.Double total)
 {
     ordered ordered = new ordered();
     ordered.email = email;
     ordered.id = id;
     ordered.pcount = pcount;
     ordered.orderid = orderid;
     ordered.address = address;
     ordered.delivered = delivered;
     ordered.cardnum = cardnum;
     ordered.arrive = arrive;
     ordered.total = total;
     return ordered;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 用于向 ordereds EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToordereds(ordered ordered)
 {
     base.AddObject("ordereds", ordered);
 }