From 1352660437b5c46f8cc20cdeafe93249578ba9d1 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Mon, 31 Dec 2018 14:11:48 +0800 Subject: [PATCH] Oracle SqlQueryable --- .../Realization/Oracle/SqlBuilder/OracleBuilder.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleBuilder.cs b/Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleBuilder.cs index 6a605dde5..c0e9026b8 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleBuilder.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleBuilder.cs @@ -34,8 +34,11 @@ namespace SqlSugar public override string SqlTranslationRight { get { return "\""; } } public override string GetTranslationTableName(string name) { - var result= base.GetTranslationTableName(name); - return result.ToUpper(); + var result = base.GetTranslationTableName(name); + if (result.Contains("(") && result.Contains(")")) + return result; + else + return result.ToUpper(); } public override string GetTranslationColumnName(string entityName, string propertyName) {