mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Update ToCheckField
This commit is contained in:
parent
0319f97873
commit
740e6ed9c5
@ -79,6 +79,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
throw new Exception($"{value} format error ");
|
throw new Exception($"{value} format error ");
|
||||||
}
|
}
|
||||||
|
else if (value.IsContainsIn("//")&& (value.Length- value.Replace("/","").Length)>=4)
|
||||||
|
{
|
||||||
|
throw new Exception($"{value} format error ");
|
||||||
|
}
|
||||||
else if (value.IsContainsIn("'") && (value.Length - value.Replace("'", "").Length) % 2 != 0)
|
else if (value.IsContainsIn("'") && (value.Length - value.Replace("'", "").Length) % 2 != 0)
|
||||||
{
|
{
|
||||||
throw new Exception($"{value} format error ");
|
throw new Exception($"{value} format error ");
|
||||||
|
Loading…
Reference in New Issue
Block a user