/// <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);
 }
 /// <summary>
 /// Create a new customer object.
 /// </summary>
 /// <param name="idCustomer">Initial value of the idCustomer property.</param>
 /// <param name="user">Initial value of the user property.</param>
 /// <param name="pass">Initial value of the pass property.</param>
 /// <param name="firstName">Initial value of the firstName property.</param>
 /// <param name="lastName">Initial value of the lastName property.</param>
 /// <param name="email">Initial value of the email property.</param>
 /// <param name="account">Initial value of the account property.</param>
 /// <param name="cDate">Initial value of the cDate property.</param>
 public static customer Createcustomer(global::System.Int32 idCustomer, global::System.String user, global::System.String pass, global::System.String firstName, global::System.String lastName, global::System.String email, global::System.String account, global::System.String cDate)
 {
     customer customer = new customer();
     customer.idCustomer = idCustomer;
     customer.user = user;
     customer.pass = pass;
     customer.firstName = firstName;
     customer.lastName = lastName;
     customer.email = email;
     customer.account = account;
     customer.cDate = cDate;
     return customer;
 }
예제 #3
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);
 }