mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
-
This commit is contained in:
@@ -19,11 +19,13 @@ namespace SqlSugar
|
||||
throw new UtilExceptions("SqlSugarException.ArgumentNullException:" + ErrorMessage.ConnectionConfigIsNull);
|
||||
}
|
||||
}
|
||||
|
||||
public static void ArgumentNullException(object checkObj, string message)
|
||||
{
|
||||
if (checkObj == null)
|
||||
throw new UtilExceptions("SqlSugarException.ArgumentNullException:" + message);
|
||||
}
|
||||
|
||||
public static void ArgumentNullException(object [] checkObj, string message)
|
||||
{
|
||||
if (checkObj == null|| checkObj.Length==0)
|
||||
@@ -35,6 +37,5 @@ namespace SqlSugar
|
||||
if (isException)
|
||||
throw new UtilExceptions(string.Format(message, args));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -7,7 +7,6 @@ namespace SqlSugar
|
||||
{
|
||||
internal static class IsWhatExtensions
|
||||
{
|
||||
|
||||
public static bool IsInRange(this int thisValue, int begin, int end)
|
||||
{
|
||||
return thisValue >= begin && thisValue <= end;
|
||||
|
Reference in New Issue
Block a user