Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the sales EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosales(sale sale)
 {
     base.AddObject("sales", sale);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new sale object.
 /// </summary>
 /// <param name="stor_id">Initial value of the stor_id property.</param>
 /// <param name="ord_num">Initial value of the ord_num property.</param>
 /// <param name="ord_date">Initial value of the ord_date property.</param>
 /// <param name="qty">Initial value of the qty property.</param>
 /// <param name="payterms">Initial value of the payterms property.</param>
 /// <param name="title_id">Initial value of the title_id property.</param>
 public static sale Createsale(global::System.String stor_id, global::System.String ord_num, global::System.DateTime ord_date, global::System.Int16 qty, global::System.String payterms, global::System.String title_id)
 {
     sale sale = new sale();
     sale.stor_id = stor_id;
     sale.ord_num = ord_num;
     sale.ord_date = ord_date;
     sale.qty = qty;
     sale.payterms = payterms;
     sale.title_id = title_id;
     return sale;
 }