Example #1
0
File: Model.cs Project: AiSvt/pr
 /// <summary>
 /// Create a new orders object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="id_worker">Initial value of the id_worker property.</param>
 /// <param name="id_type">Initial value of the id_type property.</param>
 /// <param name="text_ord">Initial value of the text_ord property.</param>
 /// <param name="date_ord">Initial value of the date_ord property.</param>
 public static orders Createorders(global::System.Int32 id, global::System.Int32 id_worker, global::System.Int32 id_type, global::System.String text_ord, global::System.DateTime date_ord)
 {
     orders orders = new orders();
     orders.Id = id;
     orders.id_worker = id_worker;
     orders.id_type = id_type;
     orders.text_ord = text_ord;
     orders.date_ord = date_ord;
     return orders;
 }
Example #2
0
File: Model.cs Project: AiSvt/pr
 /// <summary>
 /// Deprecated Method for adding a new object to the ordersSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToordersSet(orders orders)
 {
     base.AddObject("ordersSet", orders);
 }