comparison HowTo/DataAccess/Destination.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.Collections.Generic;
3
4 using NUnit.Framework;
5
6 using BLToolkit.DataAccess;
7
8 namespace HowTo.DataAccess
9 {
10 [TestFixture]
11 public class Destination
12 {
13 public abstract class PersonAccessor : DataAccessor
14 {
15 public abstract void SelectAll([/*[a]*/Destination/*[/a]*/] IList<Person> list);
16 }
17
18 [Test]
19 public void Test()
20 {
21 PersonAccessor pa = DataAccessor.CreateInstance<PersonAccessor>();
22
23 List<Person> list = new List<Person>();
24
25 pa.SelectAll(list);
26
27 Assert.AreNotEqual(0, list.Count);
28 }
29 }
30 }