简体   繁体   English

IsDeleted在SubSonic 3.0中不起作用

[英]IsDeleted is not working in SubSonic 3.0

I'm using SubSonic 3.0 with SqlServer and for some reason the IsDeleted field is not being autopopulated to false. 我将SubSonic 3.0与SqlServer一起使用,由于某种原因,IsDeleted字段未自动填充为false。 It remains null. 它保持为空。

Is there a quick fix for this in the templates? 模板中是否有针对此的快速修复?

My field schema is 我的领域架构是
IsDeleted bit null IsDeleted位为空

IsDeleted列应创建为NOT NULL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM