Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每个人。我需要无条件删除一些实体。一切都由代码处理。
但是EF不允许我这样做。我可以通过 SSMS 手动删除 FK 引用约束,但是如何在创建数据库时设置它?
谢谢。