6,218 reputation
22145
bio website rationalgeek.com
location Connecticut
age
visits member for 3 years, 10 months
seen Jul 24 at 18:38

Sep
20
awarded  Yearling
Sep
16
awarded  Benefactor
Sep
16
accepted Entity Framework with large systems - how to divide models?
Sep
12
comment Entity Framework with large systems - how to divide models?
@Nik I'm not just concerned about runtime performance but also design- and build- time. I've read some horror stories of using EF models against DBs of this size and have Visual Studio choke on them.
Sep
11
comment Entity Framework with large systems - how to divide models?
This seems like a good strategy, but doesn't really address the question of how to divide entities across different EF models. Do you have all entities in one model or do you divide and conquer in some way?
Sep
11
awarded  Nice Question
Sep
10
comment Entity Framework with large systems - how to divide models?
@Tjaart thanks. I have used MS DTC before and while it is pretty simple, it does add complexity beyond a simple DB txn so I want to avoid it whenever possible.
Sep
10
awarded  Promoter
Sep
7
asked Entity Framework with large systems - how to divide models?
Sep
3
awarded  Popular Question
Aug
15
awarded  Nice Question
Aug
3
awarded  Nice Answer
Jul
19
comment How do you follow the single responsibility principle in classes responsible for behaviour?
It seems like you have your behavior organized in the wrong manner. Why would the controller depend on the state of the view? This is generally a code smell if you are trying to do MVC correctly. It sounds like you are not encapsulating behavior enough, and that every class needs to know "the business" of every other class.
Jul
19
awarded  Necromancer
Jul
18
answered How do you follow the single responsibility principle in classes responsible for behaviour?
Jul
16
comment What is a good toy example to teach version control?
+1. If you are teaching source control, don't confuse things by throwing a technology into the mix that some people in the audience won't be familiar with.
Jul
13
comment Are Persistence-Ignorant objects able to implement lazy loading?
@user1483278 I edited my answer to hopefully address those questions.
Jul
13
revised Are Persistence-Ignorant objects able to implement lazy loading?
added 536 characters in body
Jul
12
answered Composition vs. Inheritance
Jul
12
comment Are there tools that do automated validation of database standards?
@ElYusubov no I didn't look at that. If there are unit testing tools aimed at databases I suppose that might work, although it would probably be a bit more cumbersome than a tool that was specifically designed to be a validation rules engine.