mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update Demo
This commit is contained in:
parent
d1782a3bbe
commit
22db10c9c0
@ -187,10 +187,10 @@ namespace OrmTest.Demo
|
||||
var db = GetInstance();
|
||||
|
||||
|
||||
string spName = "PR_TEST";
|
||||
var p1 = new SugarParameter("@O_RESULT", null, true);
|
||||
p1.IsRefCursor = true;
|
||||
var dt3 = db.Ado.UseStoredProcedure().GetDataTable(spName, p1);
|
||||
//string spName = "PR_TEST";
|
||||
//var p1 = new SugarParameter("@O_RESULT", null, true);
|
||||
//p1.IsRefCursor = true;
|
||||
//var dt3 = db.Ado.UseStoredProcedure().GetDataTable(spName, p1);
|
||||
|
||||
db.Ado.BeginTran();
|
||||
var t1 = db.Ado.SqlQuery<string>("select 'a' from dual");
|
||||
|
Loading…
Reference in New Issue
Block a user