Browse Source

-

pull/40/head
sunkaixuan 1 year ago
parent
commit
5c969468b2
  1. 3
      Src/Asp.NetCore2/SqlSugar/Utilities/DbExtensions.cs

3
Src/Asp.NetCore2/SqlSugar/Utilities/DbExtensions.cs

@ -80,7 +80,8 @@ namespace SqlSugar
|| value.ToLower().Contains(" delete ")
|| value.ToLower().Contains(" drop ")
|| value.ToLower().Contains(" alert ")
|| value.ToLower().Contains(" create "))
|| value.ToLower().Contains(" create ")
|| value.ToLower().Contains(" insert "))
{
Check.ExceptionEasy($"{value} format error ", value+ "不能存在 空格+【update drop 等】+空格 ");
}

Loading…
Cancel
Save