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