Browse Source

Oracle SqlQueryable

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

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

@ -34,8 +34,11 @@ 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);
return result.ToUpper(); if (result.Contains("(") && result.Contains(")"))
return result;
else
return result.ToUpper();
} }
public override string GetTranslationColumnName(string entityName, string propertyName) public override string GetTranslationColumnName(string entityName, string propertyName)
{ {

Loading…
Cancel
Save