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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 using System;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2 using BLToolkit.Mapping;
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 namespace NorthwindDataService
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 partial class DataContext
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 [InheritanceMapping(Code=true, Type=typeof(DiscontinuedProduct))]
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 [InheritanceMapping(Code=false, Type=typeof(ActiveProduct))]
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 partial class Product
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 {
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 }
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 public class ActiveProduct : Product {}
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 public class DiscontinuedProduct : Product {}
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 }