Subsonic Three (3) CreatedBy fields not updating

余生颓废 提交于 2020-01-03 00:53:33

问题


Using Subsonic 3 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 data to these columns. Am I missing something?


回答1:


These fields aren't automatically populated in version 3 like they were in version 2, unless you are using the ActiveRecord templates. You could modify the templates pretty simply to add the functionality yourself.



来源:https://stackoverflow.com/questions/843062/subsonic-three-3-createdby-fields-not-updating

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!