0
|
1 using System;
|
|
2
|
|
3 using BLToolkit.Common;
|
|
4 using BLToolkit.DataAccess;
|
|
5 using BLToolkit.Mapping;
|
|
6
|
|
7 namespace PetShop.ObjectModel
|
|
8 {
|
|
9 public class Address : EntityBase
|
|
10 {
|
|
11 [MapField("ToFirstName")] public string FirstName;
|
|
12 [MapField("ToLastName")] public string LastName;
|
|
13 [MapField("Addr1")] public string Line1;
|
|
14 [MapField("Addr2")] public string Line2;
|
|
15 public string City;
|
|
16 public string State;
|
|
17 public string Zip;
|
|
18 public string Country;
|
|
19
|
|
20 [NonUpdatable] public string Phone;
|
|
21 [NonUpdatable] public string Email;
|
|
22 }
|
|
23 }
|