annotate Demo/Asp.Net/ObjectModel/Category.cs @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author |
cin |
date |
Tue, 10 Mar 2015 16:02:11 +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 }
|