0
|
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 }
|