Mercurial > pub > bltoolkit
annotate UnitTests/Linq/Exceptions/Inheritance.cs @ 3:1ef98bd70424
!bug 100 +3h
Исправление проблемы BLToolkit + mono 3.4
author | cin |
---|---|
date | Fri, 22 Aug 2014 17:34:46 +0400 |
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 } |