mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 优化 DbFirst 模式长内容未设置 StringLength = -1 写入问题;
This commit is contained in:
@ -39,7 +39,7 @@ namespace FreeSql.SqlServer
|
||||
if (dbtype != SqlDbType.Variant)
|
||||
{
|
||||
ret.SqlDbType = dbtype;
|
||||
if (col.DbSize != 0) ret.Size = col.DbSize;
|
||||
//if (col.DbSize != 0) ret.Size = col.DbSize;
|
||||
if (col.DbPrecision != 0) ret.Precision = col.DbPrecision;
|
||||
if (col.DbScale != 0) ret.Scale = col.DbScale;
|
||||
}
|
||||
|
Reference in New Issue
Block a user