Oracle SqlTest supports @

This commit is contained in:
sunkaixuan
2017-12-04 20:51:33 +08:00
parent 7c3094e624
commit cb6289e272
4 changed files with 36 additions and 2 deletions

View File

@@ -26,6 +26,13 @@ namespace OrmTest.Demo
//StoredProcedure();
Enum();
Simple();
SqlTest();
}
private static void SqlTest()
{
var db = GetInstance();
var x = db.Ado.ExecuteCommand("select '@id' as id from student where id=@id",new { id=1});
}
private static void Simple()