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