mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 优化 QuestDB 类型映射,表达式函数解析,新增 QuestFunc 函数解析;
This commit is contained in:
@ -526,8 +526,12 @@ namespace FreeSql.Internal
|
||||
{
|
||||
col.Attribute.IsNullable = false;
|
||||
col.Attribute.DbType = col.Attribute.DbType.Replace("NOT NULL", "").Replace(" NULL", "").Trim();
|
||||
if (common._orm.Ado.DataType == DataType.Sqlite)
|
||||
col.Attribute.DbType += " NOT NULL"; //sqlite 主键也可以插入 null
|
||||
switch(common._orm.Ado.DataType)
|
||||
{
|
||||
case DataType.Sqlite:
|
||||
col.Attribute.DbType += " NOT NULL"; //sqlite 主键也可以插入 null
|
||||
break;
|
||||
}
|
||||
}
|
||||
foreach (var col in trytb.Columns.Values)
|
||||
{
|
||||
|
Reference in New Issue
Block a user