mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update oracle
This commit is contained in:
parent
27cb33874d
commit
cbb7a670c6
@ -461,7 +461,7 @@ WHERE table_name = '"+tableName+"'");
|
||||
{
|
||||
List<DbColumnInfo> columns = GetOracleDbType(tableName);
|
||||
string sql = "select * /* " + Guid.NewGuid() + " */ from " +SqlBuilder.GetTranslationTableName(SqlBuilder.GetNoTranslationColumnName(tableName)) + " WHERE 1=2 ";
|
||||
if (!IsAnyTable(tableName, false))
|
||||
if (!IsAnyTable(tableName, false)&&!GetViewInfoList(false).Any(it=>it.Name.EqualCase(tableName)))
|
||||
{
|
||||
return new List<DbColumnInfo>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user