diff --git a/Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs b/Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs index cf2693c12..e9f0163a8 100644 --- a/Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs +++ b/Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs @@ -32,7 +32,7 @@ namespace OrmTest Console.WriteLine("#### Examples Start ####"); var db = GetInstance(); var dbTime = db.GetDate(); - var GetFirst = db.Queryable().OrderBy(x => Convert.ToInt32(x.Price), OrderByType.Asc).First(); + var getFirst = db.Queryable().OrderBy(x => Convert.ToInt32(x.Price), OrderByType.Asc).First(); var getAll = db.Queryable().Where(it=> SqlFunc.EqualsNull(it.Name,null)).ToList(); var getOrderBy = db.Queryable().OrderBy(it => it.Name,OrderByType.Desc).ToList(); var getOrderBy2 = db.Queryable().OrderBy(it => it.Id).OrderBy(it => it.Name, OrderByType.Desc).ToList();