Mercurial > pub > bltoolkit
annotate HowTo/Data/OpenConfig1FW2.cs @ 7:99cd4f3947d8
Закомментированы строки мешающие добавлению авиа дежурств.
author | nickolay |
---|---|
date | Fri, 27 Oct 2017 18:26:29 +0300 |
parents | f990fcb411a9 |
children |
rev | line source |
---|---|
0 | 1 using System; |
2 using System.Data; | |
3 | |
4 using NUnit.Framework; | |
5 | |
6 using BLToolkit.Data; | |
7 | |
8 namespace HowTo.Data | |
9 { | |
10 [TestFixture] | |
11 public class OpenConfig1FW2 | |
12 { | |
13 [Test] | |
14 public void FW2Configuration() | |
15 { | |
16 // <connectionString> section configuration supported in FW 2.0+. | |
17 // | |
18 using (DbManager db = new DbManager(/*[a]*/"DemoConnection"/*[/a]*/)) | |
19 { | |
20 Assert.AreEqual(ConnectionState.Open, db.Connection.State); | |
21 } | |
22 } | |
23 } | |
24 } |