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).
精彩评论