Mercurial > pub > bltoolkit
annotate Demo/WebServices/NorthwindDataService/DataContext.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 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 } |