/// <summary> /// Convert a nettiers entity to the ws proxy entity. /// </summary> public static WsProxy.VStoreWithDemographics Convert(VStoreWithDemographics item) { WsProxy.VStoreWithDemographics outItem = new WsProxy.VStoreWithDemographics(); outItem.CustomerId = item.CustomerId; outItem.Name = item.Name; outItem.ContactType = item.ContactType; outItem.Title = item.Title; outItem.FirstName = item.FirstName; outItem.MiddleName = item.MiddleName; outItem.LastName = item.LastName; outItem.Suffix = item.Suffix; outItem.Phone = item.Phone; outItem.EmailAddress = item.EmailAddress; outItem.EmailPromotion = item.EmailPromotion; outItem.AddressType = item.AddressType; outItem.AddressLine1 = item.AddressLine1; outItem.AddressLine2 = item.AddressLine2; outItem.City = item.City; outItem.StateProvinceName = item.StateProvinceName; outItem.PostalCode = item.PostalCode; outItem.CountryRegionName = item.CountryRegionName; outItem.AnnualSales = item.AnnualSales; outItem.AnnualRevenue = item.AnnualRevenue; outItem.BankName = item.BankName; outItem.BusinessType = item.BusinessType; outItem.YearOpened = item.YearOpened; outItem.Specialty = item.Specialty; outItem.SquareFeet = item.SquareFeet; outItem.Brands = item.Brands; outItem.Internet = item.Internet; outItem.NumberEmployees = item.NumberEmployees; return(outItem); }
/// <summary> /// Convert a nettiers entity to the ws proxy entity. /// </summary> public static WsProxy.VStoreWithDemographics Convert(VStoreWithDemographics item) { WsProxy.VStoreWithDemographics outItem = new WsProxy.VStoreWithDemographics(); outItem.CustomerId = item.CustomerId; outItem.Name = item.Name; outItem.ContactType = item.ContactType; outItem.Title = item.Title; outItem.FirstName = item.FirstName; outItem.MiddleName = item.MiddleName; outItem.LastName = item.LastName; outItem.Suffix = item.Suffix; outItem.Phone = item.Phone; outItem.EmailAddress = item.EmailAddress; outItem.EmailPromotion = item.EmailPromotion; outItem.AddressType = item.AddressType; outItem.AddressLine1 = item.AddressLine1; outItem.AddressLine2 = item.AddressLine2; outItem.City = item.City; outItem.StateProvinceName = item.StateProvinceName; outItem.PostalCode = item.PostalCode; outItem.CountryRegionName = item.CountryRegionName; outItem.AnnualSales = item.AnnualSales; outItem.AnnualRevenue = item.AnnualRevenue; outItem.BankName = item.BankName; outItem.BusinessType = item.BusinessType; outItem.YearOpened = item.YearOpened; outItem.Specialty = item.Specialty; outItem.SquareFeet = item.SquareFeet; outItem.Brands = item.Brands; outItem.Internet = item.Internet; outItem.NumberEmployees = item.NumberEmployees; return outItem; }