Reputation: 303
Normally as i know Entity frame work associated with WCF application , for standalone desktop application like POS or Inventory application , is Entity Frame work suitable ? or WPF MVVM Model
Upvotes: 2
Views: 882
Reputation: 14755
Additional arguments
Upvotes: 0
Reputation: 59111
MVVM is a design pattern that separates the UI from the implementation details.
The Entity Framework is (I believe) an ORM, designed to abstract application specific implementation details from the underlying storage.
Datasets offer little to no abstraction over the underlying storage. I'd recommend using any ORM/DAL framework over directly interacting with datasets.
Both MVVM and the Entity Framework can be used in the same application because they offer abstractions at completely different layers. When combined, the "model" in MVVM is the DAL/ORM layer.
Upvotes: 4
Reputation: 1656
To work with WPF; I’ll prefer to use Entity Frame work.
1-It will convert all tables to classes direct.
2-You can add partial class to tables to do some validation or extra variable
3-You don’t need to write to many procedures.
Of course it will be different from dataset, but with time you’ll never go back to dataset. I promise.
Upvotes: 3