阅读背景:

Linq-to-SQL如何防止使用Delete方法?

来源:互联网 

By convention our DB only alows the use of stored procedures for INSERT, UPDATE and DELETE. For some tables / types there is no DELETE stored procedure, because it is not allowed to delete rows. (You can only update the status of such a type to "deleted"). e.g. a customer may be marked as deleted but is never really removed from the DB.By convention our DB only alows the use of stor




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: