mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Update .net core project
This commit is contained in:
@@ -41,6 +41,13 @@ namespace SqlSugar
|
|||||||
return sql;
|
return sql;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
public override string SqlParameterKeyWord
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return ":";
|
||||||
|
}
|
||||||
|
}
|
||||||
public override IDbConnection Connection
|
public override IDbConnection Connection
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@@ -49,9 +49,9 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
this.OrderByValue = oldOrderBy;
|
this.OrderByValue = oldOrderBy;
|
||||||
result = GetSqlQuerySql(result);
|
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;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user