Remove waring message

This commit is contained in:
sunkaixuan
2024-01-07 00:53:56 +08:00
parent c5c0b8de18
commit 3a3e1c6cfc
2 changed files with 4 additions and 4 deletions

View File

@@ -125,7 +125,7 @@ namespace SqlSugar
var conn = db.GetAdapter();
IsTryKd = true;
}
catch (Exception ex)
catch
{
var message = "需要引用Kdbndp.dll,Github搜索sqlsugar源码里面有";
throw new Exception(message);
@@ -143,7 +143,7 @@ namespace SqlSugar
var conn = db.GetAdapter();
IsTryDm = true;
}
catch (Exception ex)
catch
{
var message = "需要引用DmProvider.dll,Github搜索sqlsugar源码里面有";
throw new Exception(message);
@@ -161,7 +161,7 @@ namespace SqlSugar
var conn = db.GetAdapter();
IsTryOscar = true;
}
catch (Exception ex)
catch
{
var message = "需要引用Oscar.Data.SqlClient.dll,Github搜索sqlsugar源码里面有";
throw new Exception(message);

View File

@@ -368,7 +368,7 @@ namespace SqlSugar
ISugarQueryable<T, T2> GroupBy(Expression<Func<T, T2, object>> expression);
new ISugarQueryable<T, T2> GroupByIF(bool isGroupBy, Expression<Func<T, object>> expression);
ISugarQueryable<T, T2> GroupByIF(bool isGroupBy, Expression<Func<T,T2, object>> expression);
ISugarQueryable<T, T2> GroupByIF(bool isGroupBy, string groupFields);
new ISugarQueryable<T, T2> GroupByIF(bool isGroupBy, string groupFields);
new ISugarQueryable<T, T2> Having(Expression<Func<T, bool>> expression);
ISugarQueryable<T, T2> Having(Expression<Func<T, T2, bool>> expression);
new ISugarQueryable<T, T2> Having(string whereString, object whereObj = null);