public void DataAccess_IOrmModelSingleGet() { Line line = new Line(); line = (Line)line.Get<Line>(1); Assert.AreEqual(line.Title, "Lemongrass and Lavender"); }
public void DataAccess_GenericSingleGet() { Line line = new Line(); line = line.Get<Line>(1); Console.WriteLine("line {0} title:{1}", line.Line_Pk.ToString(), line.Title); Assert.AreEqual(line.Title, "Lemongrass and Lavender"); }