Nettiers.AdventureWorks.Entities.VStoreWithDemographicsBase.CreateVStoreWithDemographics C# (CSharp) Method

CreateVStoreWithDemographics() public static method

A simple factory method to create a new VStoreWithDemographics instance.
public static CreateVStoreWithDemographics ( System _customerId, System _name, System _contactType, System _title, System _firstName, System _middleName, System _lastName, System _suffix, System _phone, System _emailAddress, System _emailPromotion, System _addressType, System _addressLine1, System _addressLine2, System _city, System _stateProvinceName, System _postalCode, System _countryRegionName, System _annualSales, System _annualRevenue, System _bankName, System _businessType, System _yearOpened, System _specialty, System _squareFeet, System _brands, System _internet, System _numberEmployees ) : VStoreWithDemographics
_customerId System
_name System
_contactType System
_title System
_firstName System
_middleName System
_lastName System
_suffix System
_phone System
_emailAddress System
_emailPromotion System
_addressType System
_addressLine1 System
_addressLine2 System
_city System
_stateProvinceName System
_postalCode System
_countryRegionName System
_annualSales System
_annualRevenue System
_bankName System
_businessType System
_yearOpened System
_specialty System
_squareFeet System
_brands System
_internet System
_numberEmployees System
return VStoreWithDemographics
		public static VStoreWithDemographics CreateVStoreWithDemographics(System.Int32 _customerId, System.String _name, System.String _contactType, System.String _title, System.String _firstName, System.String _middleName, System.String _lastName, System.String _suffix, System.String _phone, System.String _emailAddress, System.Int32 _emailPromotion, System.String _addressType, System.String _addressLine1, System.String _addressLine2, System.String _city, System.String _stateProvinceName, System.String _postalCode, System.String _countryRegionName, System.Decimal? _annualSales, System.Decimal? _annualRevenue, System.String _bankName, System.String _businessType, System.Int32? _yearOpened, System.String _specialty, System.Int32? _squareFeet, System.String _brands, System.String _internet, System.Int32? _numberEmployees)
		{
			VStoreWithDemographics newVStoreWithDemographics = new VStoreWithDemographics();
			newVStoreWithDemographics.CustomerId = _customerId;
			newVStoreWithDemographics.Name = _name;
			newVStoreWithDemographics.ContactType = _contactType;
			newVStoreWithDemographics.Title = _title;
			newVStoreWithDemographics.FirstName = _firstName;
			newVStoreWithDemographics.MiddleName = _middleName;
			newVStoreWithDemographics.LastName = _lastName;
			newVStoreWithDemographics.Suffix = _suffix;
			newVStoreWithDemographics.Phone = _phone;
			newVStoreWithDemographics.EmailAddress = _emailAddress;
			newVStoreWithDemographics.EmailPromotion = _emailPromotion;
			newVStoreWithDemographics.AddressType = _addressType;
			newVStoreWithDemographics.AddressLine1 = _addressLine1;
			newVStoreWithDemographics.AddressLine2 = _addressLine2;
			newVStoreWithDemographics.City = _city;
			newVStoreWithDemographics.StateProvinceName = _stateProvinceName;
			newVStoreWithDemographics.PostalCode = _postalCode;
			newVStoreWithDemographics.CountryRegionName = _countryRegionName;
			newVStoreWithDemographics.AnnualSales = _annualSales;
			newVStoreWithDemographics.AnnualRevenue = _annualRevenue;
			newVStoreWithDemographics.BankName = _bankName;
			newVStoreWithDemographics.BusinessType = _businessType;
			newVStoreWithDemographics.YearOpened = _yearOpened;
			newVStoreWithDemographics.Specialty = _specialty;
			newVStoreWithDemographics.SquareFeet = _squareFeet;
			newVStoreWithDemographics.Brands = _brands;
			newVStoreWithDemographics.Internet = _internet;
			newVStoreWithDemographics.NumberEmployees = _numberEmployees;
			return newVStoreWithDemographics;
		}