587 reputation
213
bio website
location
age 32
visits member for 1 year, 5 months
seen 8 hours ago

.NET Developer in Edinburgh, Scotland.


Nov
4
awarded  Popular Question
Sep
24
awarded  Autobiographer
Aug
20
accepted Generic Repositories with DI & Data Intensive Controllers
Aug
20
comment Generic Repositories with DI & Data Intensive Controllers
This is a very good point, there could be a service layer in between my COntrollers and Repositories to try reduce this problem.
Aug
20
comment Generic Repositories with DI & Data Intensive Controllers
I really like this approach. I will play with it when I have time and see if i like it when its implemented. Could be a good alternative to repositories.
Aug
19
answered Data Access Objects old fashioned?
Aug
19
asked Generic Repositories with DI & Data Intensive Controllers
Aug
18
accepted Is table inheritance the wrong approach
Aug
15
comment Is table inheritance the wrong approach
Exactly the issues I want to avoid. Although I was considering that having the additional class with the 0.1:1 relationship could have its own issues.
Aug
15
asked Is table inheritance the wrong approach
Jul
31
comment How far can I drift from my original domain model and still have the benefits of an ORM?
The FK can be left out and just have a navigation property or leave both out. The FK still gets created on db but you won't be able to assign users by id using entities. You will need to select out a user to assign it. Also you should use 'virtual icollection' as it's a navigation property. All depends on relationship you are trying to make.
Jul
2
awarded  Curious
Jun
25
comment Entity Framework 6 Conventions
Makes sense having the ability to assign an Id rather than entire entity. Thanks.
Jun
25
accepted Entity Framework 6 Conventions
Jun
24
asked Entity Framework 6 Conventions
Jun
24
awarded  Notable Question
Jun
4
awarded  Yearling
May
14
accepted In what situation do Entity Framework enums become useful?
May
14
comment In what situation do Entity Framework enums become useful?
I think we are pretty much agreeing, their intended use is pretty bad practice as it reduces readability.
May
13
asked In what situation do Entity Framework enums become useful?