mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update .net core project
This commit is contained in:
@@ -41,6 +41,13 @@ namespace SqlSugar
|
||||
return sql;
|
||||
};
|
||||
}
|
||||
public override string SqlParameterKeyWord
|
||||
{
|
||||
get
|
||||
{
|
||||
return ":";
|
||||
}
|
||||
}
|
||||
public override IDbConnection Connection
|
||||
{
|
||||
get
|
||||
|
@@ -49,9 +49,9 @@ namespace SqlSugar
|
||||
}
|
||||
this.OrderByValue = oldOrderBy;
|
||||
result = GetSqlQuerySql(result);
|
||||
if (result.IndexOf("-- No table") > 0)
|
||||
if (result.Contains("-- No table") )
|
||||
{
|
||||
return "-- No table";
|
||||
return "select * from (select 1 as id) where id=0 -- No table";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user