annotate HowTo/DataAccess/Person.cs @ 4:f757da6161a1
!bug 100 + 2h fixed gregression
author |
cin |
date |
Sun, 24 Aug 2014 17:57:42 +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 }
|