Mercurial > pub > bltoolkit
annotate Demo/WebServices/NorthwindDataService/DataContext.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 using BLToolkit.Mapping; | |
3 | |
4 namespace NorthwindDataService | |
5 { | |
6 partial class DataContext | |
7 { | |
8 } | |
9 | |
10 [InheritanceMapping(Code=true, Type=typeof(DiscontinuedProduct))] | |
11 [InheritanceMapping(Code=false, Type=typeof(ActiveProduct))] | |
12 partial class Product | |
13 { | |
14 } | |
15 | |
16 public class ActiveProduct : Product {} | |
17 public class DiscontinuedProduct : Product {} | |
18 } |