I use master-detail scenario to show and update data of selected object.
So this scenario allows me to implement read, update and delete operations.
But how to implement create operation?
I used a data template inside of ContentControl
. But the controls in this data template is inaccessable from the main window class. So I can't read its values to fill new object's data.
Do I have to create a new window with the same controls structure as inside the data template and to use it for create operations? Or something else?