public void DataAccess_List() { Line line = new Line(); List<Line> lines = line.GetCollection<Line>(); lines.ForEach(ln => { Console.WriteLine("line {0} title:{1}", ln.Line_Pk.ToString(), ln.Title); }); Console.WriteLine("tested {0} rows", lines.Count.ToString()); Assert.IsTrue(lines.Count > 0); }