Esempio n. 1
0
 /// <summary>
 /// Create a new Customer object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="sw_code">Initial value of the sw_code property.</param>
 /// <param name="is_vendmax_customer">Initial value of the is_vendmax_customer property.</param>
 /// <param name="status">Initial value of the status property.</param>
 /// <param name="created_datetime">Initial value of the created_datetime property.</param>
 /// <param name="created_user">Initial value of the created_user property.</param>
 /// <param name="updated_datetime">Initial value of the updated_datetime property.</param>
 /// <param name="updated_user">Initial value of the updated_user property.</param>
 /// <param name="is_dms_user">Initial value of the is_dms_user property.</param>
 /// <param name="custype_id">Initial value of the custype_id property.</param>
 public static Customer CreateCustomer(global::System.Int32 id, global::System.String sw_code, global::System.String is_vendmax_customer, global::System.Int32 status, global::System.DateTime created_datetime, global::System.String created_user, global::System.DateTime updated_datetime, global::System.String updated_user, global::System.Boolean is_dms_user, global::System.Int32 custype_id)
 {
     Customer customer = new Customer();
     customer.id = id;
     customer.sw_code = sw_code;
     customer.is_vendmax_customer = is_vendmax_customer;
     customer.status = status;
     customer.created_datetime = created_datetime;
     customer.created_user = created_user;
     customer.updated_datetime = updated_datetime;
     customer.updated_user = updated_user;
     customer.is_dms_user = is_dms_user;
     customer.custype_id = custype_id;
     return customer;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Customers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomers(Customer customer)
 {
     base.AddObject("Customers", customer);
 }