/// <summary> /// Deprecated Method for adding a new object to the customers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocustomers(customer customer) { base.AddObject("customers", customer); }
/// <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; }