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