comparison Demo/WebServices/NorthwindDataService/DataContext.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
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 }