阅读背景:

如何使用ADO.NET Entity Framework自动更新ModifiedAt字段?

来源:互联网 

Ruby on Rails has magic timestamping fields that are automatically updated when a record is created or updated. I'm trying to find similar functionality in Entity Framework. I've considered database triggers and a SavingChanges event handler. Is there a more obvious method I'm overlooking? tha




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

分享到: