Mercurial > pub > bltoolkit
annotate UnitTests/Linq/Exceptions/Inheritance.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 System.Linq; | |
3 | |
4 using NUnit.Framework; | |
5 | |
6 using BLToolkit.Data.Linq; | |
7 | |
8 namespace Data.Exceptions | |
9 { | |
10 using Linq; | |
11 | |
12 [TestFixture] | |
13 public class Inheritance : TestBase | |
14 { | |
15 [Test, ExpectedException(typeof(LinqException))] | |
16 public void Test1() | |
17 { | |
18 ForEachProvider(typeof(LinqException), db => | |
19 { | |
20 var q = from p in db.ParentInheritance2 select p; | |
21 q.ToList(); | |
22 }); | |
23 } | |
24 } | |
25 } |