private static AddressData GetAddressDataObject(Nop280_Address address)
 {
     return new AddressData
     {
         Id = address.Id,
         FirstName = address.FirstName,
         LastName = address.LastName,
         Address1 = address.Address1,
         Address2 = address.Address2,
         Company = address.Company,
         City = address.City,
         StateProvince = address.Nop280_StateProvince != null ? address.Nop280_StateProvince.Name : string.Empty,
         PostalCode = address.ZipPostalCode,
         PhoneNumber = address.PhoneNumber,
         Country = address.CountryId,
         Email = address.Email
     };
 }
Esempio n. 2
0
		private void detach_Addresses(Nop280_Address entity)
		{
			this.SendPropertyChanging();
			entity.Nop280_StateProvince = null;
		}
Esempio n. 3
0
		private void detach_Addresses(Nop280_Address entity)
		{
			this.SendPropertyChanging();
			entity.Nop280_Country = null;
		}
Esempio n. 4
0
 partial void DeleteNop280_Address(Nop280_Address instance);
Esempio n. 5
0
 partial void UpdateNop280_Address(Nop280_Address instance);
Esempio n. 6
0
 partial void InsertNop280_Address(Nop280_Address instance);