Update ToCheckField

This commit is contained in:
sunkaixuan 2023-08-31 23:08:07 +08:00
parent 0319f97873
commit 740e6ed9c5

View File

@ -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 ");