public void DataAccess_ParallelCollectionsGenerics() { Line line = new Line(); List<Line> lines = line.GetInParallel<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); line = null; }