comparison Demo/Asp.Net/ObjectModel/Address.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
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 }