Mercurial > pub > bltoolkit
annotate HowTo/DataAccess/Person.cs @ 2:79a04c6442bf
file name case fix
author | cin |
---|---|
date | Fri, 22 Aug 2014 13:41:57 +0400 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 | |
3 using BLToolkit.DataAccess; | |
4 using BLToolkit.Mapping; | |
5 | |
6 namespace HowTo.DataAccess | |
7 { | |
8 public class Person | |
9 { | |
10 [MapField("PersonID"), PrimaryKey, NonUpdatable] | |
11 public int ID; | |
12 | |
13 public string LastName; | |
14 public string FirstName; | |
15 public string MiddleName; | |
16 public Gender Gender; | |
17 } | |
18 } |