Select all children and order by last name
This commit is contained in:
parent
15f30ce8f8
commit
972898ccfa
|
@ -29,7 +29,7 @@ namespace GreatHomeChildcare
|
|||
{
|
||||
using (IDbConnection cnn = new SQLiteConnection(LoadConnectionString()))
|
||||
{
|
||||
string strQuery = "SELECT * FROM Children";
|
||||
string strQuery = "SELECT * FROM Children ORDER BY LastName ASC";
|
||||
var output = cnn.Query<Child>(strQuery);
|
||||
return output.ToList();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user