mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update pgsql datatable bug
This commit is contained in:
@@ -105,6 +105,8 @@ namespace SqlSugar
|
||||
|
||||
public override Type GetNullType(string tableName, string columnName)
|
||||
{
|
||||
if (tableName != null)
|
||||
tableName = tableName.Trim();
|
||||
var columnInfo=this.Context.DbMaintenance.GetColumnInfosByTableName(tableName).FirstOrDefault(z => z.DbColumnName.EqualCase(columnName));
|
||||
if (columnInfo != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user