开发者

.NET MVC form versioning support

I'm building an MVC based system which should manage requests, thats is, a user of the system fills in a request form, the form is passed to some authority for handling and there might be many other proccessing to the form in the way.

I want to be able to save History/Versions of the form, what i mean is, if a user fills in a form a year ago, and later on, the form has changed, when we open the user filled form, i want to see the version he filled(even if some fields were removed\changed in the current version) and work on it(thats including adding info onto his version and saving history of changes to that version)

I was thinking about having my forms correspond to actuall views, and when a user fills in a form, the view it-self+view-model is persisted to a DB, and when someone will want to take a look and work on that request, i will just re-render the view+model from the DB.

Is that possible using .net MVC? how should i approuch this? any other suggestions? bett开发者_开发百科er ways of doing such a thing?

Thanks.


I recommend you to look for a revisions/versioning solution like:

LINQ to SQL object versioning

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜