mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-19 06:29:33 +08:00
Synchronization code
This commit is contained in:
parent
21b87d79ff
commit
f13e86634f
@ -11,7 +11,7 @@ namespace SqlSugar.DbConvert
|
|||||||
{
|
{
|
||||||
public SugarParameter ParameterConverter<T>(object columnValue, int columnIndex)
|
public SugarParameter ParameterConverter<T>(object columnValue, int columnIndex)
|
||||||
{
|
{
|
||||||
var name = "@MyEnmu" + columnIndex;
|
var name = "@MyEnum" + columnIndex;
|
||||||
Type undertype = SqlSugar.UtilMethods.GetUnderType(typeof(T));//获取没有nullable的枚举类型
|
Type undertype = SqlSugar.UtilMethods.GetUnderType(typeof(T));//获取没有nullable的枚举类型
|
||||||
if (columnValue == null)
|
if (columnValue == null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user