D
D
da4512014-01-29 17:35:53
NHibernate
da451, 2014-01-29 17:35:53

What is the best way to build MVVM model interaction with nHibernate entity?

Given:
- model for MVVM;
- entity nHibernate;
Question: how best to build interaction between them?
I found an example on codeproject, where the model and the entity are 1 and the same class.
www.codeproject.com/Articles/424337/Tasks-managing...
This option seems to me not very convenient (correct), since we are mixing MVVM and working with the database.
Prompt the best architectural decision, for the task.

Answer the question

In order to leave comments, you need to log in

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question