mirror of
https://github.com/FalconWu2017/Falcon.StoredProcedureRunner.git
synced 2024-11-27 08:59:37 +08:00
修复一个获取存储过程参数的错误
This commit is contained in:
parent
c25845c813
commit
ed488ac5da
|
@ -101,7 +101,7 @@ namespace Falcon.StoredProcedureRunner
|
||||||
continue;
|
continue;
|
||||||
var pt = getPrarmType(p);
|
var pt = getPrarmType(p);
|
||||||
if(pt.HasValue) {
|
if(pt.HasValue) {
|
||||||
var np = new SqlParameter($"@{getPrarmName(p)}",pt);
|
var np = new SqlParameter($"@{getPrarmName(p)}",pt.Value);
|
||||||
np.Value = p.GetValue(data);
|
np.Value = p.GetValue(data);
|
||||||
yield return np;
|
yield return np;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user