mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 调整 FreeSql.Generator 移除 CanInsert = false 特性生成;
This commit is contained in:
@ -196,11 +196,11 @@ public class RazorModel {
|
||||
if (defval != null)
|
||||
{
|
||||
sb.Add("InsertValueSql = \"" + defval.Replace("\"", "\\\"") + "\"");
|
||||
sb.Add("CanInsert = false");
|
||||
//sb.Add("CanInsert = false");
|
||||
}
|
||||
}
|
||||
else
|
||||
sb.Add("CanInsert = false");
|
||||
//else
|
||||
//sb.Add("CanInsert = false");
|
||||
}
|
||||
}
|
||||
if (sb.Any() == false) return null;
|
||||
|
Reference in New Issue
Block a user