mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
调整DB2数据类型适配
This commit is contained in:
@@ -215,9 +215,11 @@ namespace SqlSugar.DB2
|
||||
{ typeof(char[]),DB2Type.Clob},
|
||||
{ typeof(byte[]),DB2Type.Byte},
|
||||
{ typeof(bool[]),DB2Type.Boolean},
|
||||
{typeof(DateTime[]),DB2Type.Date},
|
||||
{typeof(float[]),DB2Type.Real},
|
||||
{typeof(Guid[]),DB2Type.VarChar},
|
||||
{ typeof(DateTime[]),DB2Type.Timestamp},
|
||||
{ typeof(DateTime[]),DB2Type.Date},
|
||||
{ typeof(float[]),DB2Type.Real},
|
||||
{ typeof(string[]),DB2Type.VarChar},
|
||||
{ typeof(Guid[]),DB2Type.VarChar},
|
||||
|
||||
|
||||
{ typeof(int?[]),DB2Type.Integer},
|
||||
@@ -227,12 +229,13 @@ namespace SqlSugar.DB2
|
||||
{ typeof(char?[]),DB2Type.Text},
|
||||
{ typeof(byte?[]),DB2Type.Byte},
|
||||
{ typeof(bool?[]),DB2Type.Boolean},
|
||||
{typeof(DateTime?[]),DB2Type.Date},
|
||||
{typeof(Guid?[]),DB2Type.VarChar},
|
||||
{ typeof(DateTime?[]),DB2Type.Timestamp},
|
||||
{ typeof(DateTime?[]),DB2Type.Date},
|
||||
{ typeof(Guid?[]),DB2Type.VarChar},
|
||||
|
||||
|
||||
{ typeof(string[]), DB2Type.Text},
|
||||
{typeof(float?[]),DB2Type.Real},
|
||||
{ typeof(string[]), DB2Type.VarChar},
|
||||
{ typeof(float?[]),DB2Type.Real},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user