I am investigating the development of a business application to replace our current database system.
I have been doing some research into WPF and MVVM and am a little confused. I get the basics of MVVM and have created a few basic apps using MVVM with a known data model.
My question is this.
Because we are looking to develop based on a database and allow our users to create different views of the data, we will not know the structure of the data model until the user chooses which view and fields they require.
The same applies for our importer. The file we import is of the same structure but the number of fields can vary depending on what was requested.
How would we create a dynamic Model for the MVVM when we do not know the data structure?
I know this is a fairly basic question but I am trying to investigate if MVVM is the right way to go.
We will be using contract developers but we need to be able to set the context of what we require.
Thanks in advance.