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.
我想从我的 SQL Server 表中删除所有记录。我使用 LINQ 到 EF5。有什么我可以做的吗?
context.Entities.DeleteAllOnSubmit(dc.Entities);