mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update ToCheckField
This commit is contained in:
@@ -79,6 +79,10 @@ namespace SqlSugar
|
||||
{
|
||||
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)
|
||||
{
|
||||
throw new Exception($"{value} format error ");
|
||||
|
Reference in New Issue
Block a user