开发者

Entity Framework CreatedBy fields not updating

Using Entity Framework I have the fields:

  o CreatedOn (datetime)
  o CreatedBy (nvarchar(50))
  o ModifiedOn (datetime)
  o ModifiedBy (nvarchar(50))

When I add data to my table it is not adding/updating data to these columns. Am I missing something?

This is a similar question to subsonic Cre开发者_C百科atedBy fields not updating


Nothing in the EF will automatically populate these. You can do it on the DB server or in code (e.g., in a Repository).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜