mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Fix QuestDb table names case sensitive issue on linux
This commit is contained in:
parent
f29735ffdd
commit
d4a1e13389
1
.gitignore
vendored
1
.gitignore
vendored
@ -209,3 +209,4 @@ GeneratedArtifacts/
|
|||||||
_Pvt_Extensions/
|
_Pvt_Extensions/
|
||||||
ModelManifest.xml
|
ModelManifest.xml
|
||||||
Src/Asp.NetCore2/SqlSeverTest/.idea/
|
Src/Asp.NetCore2/SqlSeverTest/.idea/
|
||||||
|
.idea
|
||||||
|
@ -432,7 +432,7 @@ namespace SqlSugar
|
|||||||
//}
|
//}
|
||||||
columnArray.Add(addItem);
|
columnArray.Add(addItem);
|
||||||
}
|
}
|
||||||
string tableString = string.Format(this.CreateTableSql, this.SqlBuilder.GetTranslationTableName(tableName.ToLower()), string.Join(",\r\n", columnArray));
|
string tableString = string.Format(this.CreateTableSql, this.SqlBuilder.GetTranslationTableName(tableName), string.Join(",\r\n", columnArray));
|
||||||
return tableString;
|
return tableString;
|
||||||
}
|
}
|
||||||
public override bool IsAnyConstraint(string constraintName)
|
public override bool IsAnyConstraint(string constraintName)
|
||||||
|
@ -35,14 +35,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool isAutoToLower
|
public bool isAutoToLower => false;
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
if (this.Context.CurrentConnectionConfig.MoreSettings == null) return true;
|
|
||||||
return this.Context.CurrentConnectionConfig.MoreSettings.PgSqlIsAutoToLower;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public override string GetTranslationColumnName(string propertyName)
|
public override string GetTranslationColumnName(string propertyName)
|
||||||
{
|
{
|
||||||
if (propertyName.Contains(".")&& !propertyName.Contains(SqlTranslationLeft))
|
if (propertyName.Contains(".")&& !propertyName.Contains(SqlTranslationLeft))
|
||||||
|
Loading…
Reference in New Issue
Block a user