All Questions
Tagged with wpf dependency-injection
6 questions
1
vote
0
answers
2k
views
Using IoC Container with Entity Framework Repository Pattern
I am using WPF with Entity Framework 6 (DB first), Caliburn.Micro, and MEF.
I am trying to ...
3
votes
2
answers
4k
views
Window Factory and Manager using MVVM pattern
I am fairly new to Factories and Dependency Injection in MVVM.
I've build my View(Window) factory with help from SO, and I would like to know if I had implemented everything properly(code works just ...
3
votes
1
answer
205
views
Managing documents with manager class
So I have a program that visualizes data from files (csv,txt,etc.). These files are saved to database as individual tables. In my application I have DocumentExplorer...
2
votes
0
answers
206
views
Keep clean SimpleIoc initialization when reusing UserControl
Originally I had ChildUserControl inside ParentUserControl inside MainWindow with this view-...
3
votes
2
answers
1k
views
Creating list ViewModels in the correct way
I'm using Caliburn Micro to create a WPF application.
So what I want to do here is a typical Master/Detail situation. I'm displaying a list of Users and you can can add/edit a User and save the ...
4
votes
2
answers
6k
views
Enabling discard pending changes on DbContext
This code review request is tightly coupled with this SO question, this is the solution I implemented to solve the problem being asked about there.
All my ViewModels get constructor-injected with a ...