Browse Source

Oracle SqlQueryable

pull/12/MERGE
sunkaixuan 6 years ago
parent
commit
1352660437
  1. 5
      Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleBuilder.cs

5
Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleBuilder.cs

@ -34,7 +34,10 @@ namespace SqlSugar
public override string SqlTranslationRight { get { return "\""; } } public override string SqlTranslationRight { get { return "\""; } }
public override string GetTranslationTableName(string name) public override string GetTranslationTableName(string name)
{ {
var result= base.GetTranslationTableName(name); var result = base.GetTranslationTableName(name);
if (result.Contains("(") && result.Contains(")"))
return result;
else
return result.ToUpper(); return result.ToUpper();
} }
public override string GetTranslationColumnName(string entityName, string propertyName) public override string GetTranslationColumnName(string entityName, string propertyName)

Loading…
Cancel
Save