Synchronization code

This commit is contained in:
sunkaixuan
2023-08-31 23:10:00 +08:00
parent 740e6ed9c5
commit d1af79dd0b

View File

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