|
|
@ -368,7 +368,7 @@ namespace SqlSugar |
|
|
|
private List<DbColumnInfo> GetColumnInfosByTableName(string tableName) |
|
|
|
{ |
|
|
|
List<DbColumnInfo> columns = GetOracleDbType(tableName); |
|
|
|
string sql = "select * /* " + Guid.NewGuid() + " */ from " + SqlBuilder.GetTranslationTableName(tableName) + " WHERE 1=2 "; |
|
|
|
string sql = "select * /* " + Guid.NewGuid() + " */ from \"" +tableName + "\" WHERE 1=2 "; |
|
|
|
this.Context.Utilities.RemoveCache<List<DbColumnInfo>>("DbMaintenanceProvider.GetFieldComment."+tableName); |
|
|
|
this.Context.Utilities.RemoveCache<List<string>>("DbMaintenanceProvider.GetPrimaryKeyByTableNames." + this.SqlBuilder.GetNoTranslationColumnName(tableName).ToLower()); |
|
|
|
var oldIsEnableLog = this.Context.Ado.IsEnableLogEvent; |
|
|
|