/// <summary> /// Deprecated Method for adding a new object to the vIndividualCustomers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovIndividualCustomers(vIndividualCustomer vIndividualCustomer) { base.AddObject("vIndividualCustomers", vIndividualCustomer); }
/// <summary> /// Create a new vIndividualCustomer object. /// </summary> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="emailPromotion">Initial value of the EmailPromotion property.</param> /// <param name="addressType">Initial value of the AddressType property.</param> /// <param name="addressLine1">Initial value of the AddressLine1 property.</param> /// <param name="city">Initial value of the City property.</param> /// <param name="stateProvinceName">Initial value of the StateProvinceName property.</param> /// <param name="postalCode">Initial value of the PostalCode property.</param> /// <param name="countryRegionName">Initial value of the CountryRegionName property.</param> public static vIndividualCustomer CreatevIndividualCustomer(global::System.Int32 customerID, global::System.String firstName, global::System.String lastName, global::System.Int32 emailPromotion, global::System.String addressType, global::System.String addressLine1, global::System.String city, global::System.String stateProvinceName, global::System.String postalCode, global::System.String countryRegionName) { vIndividualCustomer vIndividualCustomer = new vIndividualCustomer(); vIndividualCustomer.CustomerID = customerID; vIndividualCustomer.FirstName = firstName; vIndividualCustomer.LastName = lastName; vIndividualCustomer.EmailPromotion = emailPromotion; vIndividualCustomer.AddressType = addressType; vIndividualCustomer.AddressLine1 = addressLine1; vIndividualCustomer.City = city; vIndividualCustomer.StateProvinceName = stateProvinceName; vIndividualCustomer.PostalCode = postalCode; vIndividualCustomer.CountryRegionName = countryRegionName; return vIndividualCustomer; }