/// <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="customersID">Initial value of the CustomersID property.</param> /// <param name="customersName">Initial value of the CustomersName property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="link">Initial value of the Link property.</param> /// <param name="images">Initial value of the Images property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="order">Initial value of the Order property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="status">Initial value of the Status property.</param> public static Customer CreateCustomer(global::System.Int32 customersID, global::System.String customersName, global::System.String address, global::System.String link, global::System.String images, global::System.String description, global::System.Int32 order, global::System.DateTime createDate, global::System.Int32 status) { Customer customer = new Customer(); customer.CustomersID = customersID; customer.CustomersName = customersName; customer.Address = address; customer.Link = link; customer.Images = images; customer.Description = description; customer.Order = order; customer.CreateDate = createDate; customer.Status = status; return customer; }