mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 优化 DbFirst 模式长内容未设置 StringLength = -1 写入问题;
This commit is contained in:
@ -80,7 +80,7 @@ namespace FreeSql.ShenTong
|
||||
if (dbtype != OscarDbType.Oidvector)
|
||||
{
|
||||
ret.OscarDbType = 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