Mercurial > pub > bltoolkit
annotate Demo/Asp.Net/ObjectModel/Category.cs @ 9:1e85f66cf767 default tip
update bltoolkit
author | nickolay |
---|---|
date | Thu, 05 Apr 2018 20:53:26 +0300 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
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 Category : EntityBase | |
10 { | |
11 [PrimaryKey] | |
12 [MapField("CategoryId")] public string ID; | |
13 public string Name; | |
14 [MapField("Descn")] public string Description; | |
15 } | |
16 } |