开发者

Is there a way to define a SQL trigger-like mechanism in EF4?

I need to create an audit log like feature where most of one table's fields are copied to another when they are modified. Normally, I would create 开发者_StackOverflowa SQL trigger to do this.

Is there an Entity Framework 4 equivalent, where upon modifying Entity X I could modify Entity Y?


There are some approaches out there on using ObjectContext.SaveChanges and the ObjectStateManager to perform such auditing requirements in EF

Link

Link

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜