/// <summary> /// Create a new vStoreWithDemographic object. /// </summary> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="contactType">Initial value of the ContactType 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 vStoreWithDemographic CreatevStoreWithDemographic(global::System.Int32 customerID, global::System.String name, global::System.String contactType, 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) { vStoreWithDemographic vStoreWithDemographic = new vStoreWithDemographic(); vStoreWithDemographic.CustomerID = customerID; vStoreWithDemographic.Name = name; vStoreWithDemographic.ContactType = contactType; vStoreWithDemographic.FirstName = firstName; vStoreWithDemographic.LastName = lastName; vStoreWithDemographic.EmailPromotion = emailPromotion; vStoreWithDemographic.AddressType = addressType; vStoreWithDemographic.AddressLine1 = addressLine1; vStoreWithDemographic.City = city; vStoreWithDemographic.StateProvinceName = stateProvinceName; vStoreWithDemographic.PostalCode = postalCode; vStoreWithDemographic.CountryRegionName = countryRegionName; return vStoreWithDemographic; }
/// <summary> /// Deprecated Method for adding a new object to the vStoreWithDemographics EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovStoreWithDemographics(vStoreWithDemographic vStoreWithDemographic) { base.AddObject("vStoreWithDemographics", vStoreWithDemographic); }