You seem to be asking two questions. First: How can I use PRISM to make sure my modular concrete schema exists in the database, and if not, create one. The second question: how can I better structure my data layer so that it is shared in a modular application.
, , :
, , , . , . Prism, Id, , : (MyPlugInModule.cs) , Microsoft.Practices.Prism.Modularity.IModule. Initialize, , , . , .
, , :
, , . , , , , .
Entity Framework, . , , , / , . .
, , WPF MVVM, PRISM MEF WCF. , , ( /, ..). , , , .
, , , , . , .. , , .
, . PRISM 4 MEF, 4, , .