コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Orders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrders(Orders orders)
 {
     base.AddObject("Orders", orders);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Orders object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="roundsNumber">Initial value of the RoundsNumber property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="order_SchoolPart">Initial value of the Order_SchoolPart property.</param>
 /// <param name="order_Contact">Initial value of the Order_Contact property.</param>
 /// <param name="order_Audience">Initial value of the Order_Audience property.</param>
 /// <param name="orders_Topic">Initial value of the Orders_Topic property.</param>
 /// <param name="orders_OrderClassesAndCounslers">Initial value of the Orders_OrderClassesAndCounslers property.</param>
 public static Orders CreateOrders(global::System.Int32 id, global::System.Int32 roundsNumber, global::System.Byte[] rowVersion, global::System.Int32 order_SchoolPart, global::System.Int32 order_Contact, global::System.Int32 order_Audience, global::System.Int32 orders_Topic, global::System.Int32 orders_OrderClassesAndCounslers)
 {
     Orders orders = new Orders();
     orders.Id = id;
     orders.RoundsNumber = roundsNumber;
     orders.RowVersion = rowVersion;
     orders.Order_SchoolPart = order_SchoolPart;
     orders.Order_Contact = order_Contact;
     orders.Order_Audience = order_Audience;
     orders.Orders_Topic = orders_Topic;
     orders.Orders_OrderClassesAndCounslers = orders_OrderClassesAndCounslers;
     return orders;
 }