diff --git a/Src/Asp.Net/SqlServerTest/Demo/Demo7_Ado.cs b/Src/Asp.Net/SqlServerTest/Demo/Demo7_Ado.cs index e1342aa19..88b7b678a 100644 --- a/Src/Asp.Net/SqlServerTest/Demo/Demo7_Ado.cs +++ b/Src/Asp.Net/SqlServerTest/Demo/Demo7_Ado.cs @@ -63,8 +63,10 @@ namespace OrmTest //There are many methods to under db.ado - var list= db.Ado.SqlQuery("select * from [order] "); - var intValue=db.Ado.SqlQuerySingle("select 1"); + var list = db.Ado.SqlQuery("select * from [order] "); + var list2 = db.Ado.SqlQuery("select * from [order] where 1=2;select * from [order] "); + var list3 = db.Ado.SqlQuery(" delete from [order] where 2=15 "); + var intValue = db.Ado.SqlQuerySingle("select 1"); db.Ado.ExecuteCommand("delete [order] where id>1000"); db.SqlQueryable(@"select *