mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 12:47:57 +08:00
Performance optimization
This commit is contained in:
parent
c78caadb84
commit
8f60b747b5
@ -27,10 +27,6 @@ namespace SqlSugar
|
|||||||
|
|
||||||
public static bool? GetConvertBoolean(this IDataRecord dr, int i)
|
public static bool? GetConvertBoolean(this IDataRecord dr, int i)
|
||||||
{
|
{
|
||||||
if (dr.IsDBNull(i))
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
var reval = dr.GetBoolean(i);
|
var reval = dr.GetBoolean(i);
|
||||||
return reval;
|
return reval;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user