mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 14:04:44 +08:00
-
This commit is contained in:
parent
da0a9aa76e
commit
be29201171
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user