Exemplo n.º 1
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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new customer object.
 /// </summary>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="appID">Initial value of the AppID property.</param>
 public static customer Createcustomer(global::System.Int32 customerID, global::System.Int32 userId, global::System.Int32 appID)
 {
     customer customer = new customer();
     customer.CustomerID = customerID;
     customer.UserId = userId;
     customer.AppID = appID;
     return customer;
 }