annotate HowTo/DataAccess/Person.cs @ 6:11b6da379593
Исправлена странная ошибка при использовании OfType<...>().Where(...)
author |
cin |
date |
Mon, 05 Dec 2016 05:50:52 +0300 |
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 }
|