Пример #1
0
 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
     };
 }
Пример #2
0
		private void detach_Addresses(Nop280_Address entity)
		{
			this.SendPropertyChanging();
			entity.Nop280_StateProvince = null;
		}
Пример #3
0
		private void detach_Addresses(Nop280_Address entity)
		{
			this.SendPropertyChanging();
			entity.Nop280_Country = null;
		}
Пример #4
0
 partial void DeleteNop280_Address(Nop280_Address instance);
Пример #5
0
 partial void UpdateNop280_Address(Nop280_Address instance);
Пример #6
0
 partial void InsertNop280_Address(Nop280_Address instance);