Mercurial > pub > bltoolkit
comparison HowTo/Data/ExecuteDataSet.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 System.Data; | |
3 | |
4 using NUnit.Framework; | |
5 | |
6 using BLToolkit.Data; | |
7 | |
8 namespace HowTo.Data | |
9 { | |
10 [TestFixture] | |
11 public class ExecuteDataSet | |
12 { | |
13 [Test] | |
14 public void Test() | |
15 { | |
16 using (DbManager db = new DbManager()) | |
17 { | |
18 DataSet ds = db | |
19 .SetCommand("SELECT * FROM Person") | |
20 ./*[a]*/ExecuteDataSet/*[/a]*/(); | |
21 | |
22 Assert.AreNotEqual(0, ds.Tables[0].Rows.Count); | |
23 } | |
24 } | |
25 } | |
26 } |