mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 21:56:03 +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/
|
||||
ModelManifest.xml
|
||||
Src/Asp.NetCore2/SqlSeverTest/.idea/
|
||||
.idea
|
||||
|
@ -432,7 +432,7 @@ namespace SqlSugar
|
||||
//}
|
||||
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;
|
||||
}
|
||||
public override bool IsAnyConstraint(string constraintName)
|
||||
|
@ -35,14 +35,7 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
|
||||
public bool isAutoToLower
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.Context.CurrentConnectionConfig.MoreSettings == null) return true;
|
||||
return this.Context.CurrentConnectionConfig.MoreSettings.PgSqlIsAutoToLower;
|
||||
}
|
||||
}
|
||||
public bool isAutoToLower => false;
|
||||
public override string GetTranslationColumnName(string propertyName)
|
||||
{
|
||||
if (propertyName.Contains(".")&& !propertyName.Contains(SqlTranslationLeft))
|
||||
|
Loading…
Reference in New Issue
Block a user