Mercurial > pub > bltoolkit
annotate Demo/WebServices/NorthwindDataService/DataContext.cs @ 2:79a04c6442bf
file name case fix
author | cin |
---|---|
date | Fri, 22 Aug 2014 13:41:57 +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 } |