Click here to Skip to main content
15,887,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: MVC5 WebGrid styling issues Pin
Brisingr Aerowing25-Mar-16 4:41
professionalBrisingr Aerowing25-Mar-16 4:41 
QuestionMVC/EF typical/best practice Pin
#realJSOP24-Mar-16 1:21
mve#realJSOP24-Mar-16 1:21 
AnswerRe: MVC/EF typical/best practice Pin
Nathan Minier24-Mar-16 1:37
professionalNathan Minier24-Mar-16 1:37 
GeneralRe: MVC/EF typical/best practice Pin
#realJSOP24-Mar-16 2:02
mve#realJSOP24-Mar-16 2:02 
GeneralRe: MVC/EF typical/best practice Pin
Nathan Minier24-Mar-16 2:08
professionalNathan Minier24-Mar-16 2:08 
GeneralRe: MVC/EF typical/best practice Pin
John C Rayan24-Mar-16 5:27
professionalJohn C Rayan24-Mar-16 5:27 
GeneralRe: MVC/EF typical/best practice Pin
Richard Deeming24-Mar-16 2:14
mveRichard Deeming24-Mar-16 2:14 
GeneralRe: MVC/EF typical/best practice Pin
Nathan Minier24-Mar-16 2:31
professionalNathan Minier24-Mar-16 2:31 
That's a fair question, and would certainly jive with some of the patterns I've seen built around EF.

My take on it is that a repository is not constrained to a single business object, especially in a relational setting where changes to object state can influence relations, so the DbContext is the repository. The functionally important part (to me) is that changes are tracked by the context, not the sets, and that multiple sets can have simultaneous changes tracked by the context.

This is entirely my personal opinion, I know, but from a design standpoint it makes a lot more sense to me.

Reading it again, I did make a mis-statement on the "implement UoW" part. "Supports UoW" would have been a much more appropriate statement, as it's entirely contingent on how you actually use the context.

QuestionWhat wrong with my website Pin
hmanhha23-Mar-16 22:03
hmanhha23-Mar-16 22:03 
AnswerRe: What wrong with my website Pin
John C Rayan23-Mar-16 23:48
professionalJohn C Rayan23-Mar-16 23:48 
AnswerRe: What wrong with my website Pin
#realJSOP24-Mar-16 1:18
mve#realJSOP24-Mar-16 1:18 
GeneralRe: What wrong with my website Pin
hmanhha24-Mar-16 16:06
hmanhha24-Mar-16 16:06 
Questioncombining rewrite maps with an update panel Pin
Member 1061132123-Mar-16 6:37
Member 1061132123-Mar-16 6:37 
AnswerRe: combining rewrite maps with an update panel Pin
John C Rayan24-Mar-16 0:08
professionalJohn C Rayan24-Mar-16 0:08 
GeneralRe: combining rewrite maps with an update panel Pin
Member 1061132124-Mar-16 3:19
Member 1061132124-Mar-16 3:19 
GeneralRe: combining rewrite maps with an update panel Pin
John C Rayan24-Mar-16 3:46
professionalJohn C Rayan24-Mar-16 3:46 
QuestionMVC5 - How do it know? Pin
#realJSOP23-Mar-16 2:48
mve#realJSOP23-Mar-16 2:48 
AnswerRe: MVC5 - How do it know? Pin
#realJSOP23-Mar-16 3:33
mve#realJSOP23-Mar-16 3:33 
AnswerRe: MVC5 - How do it know? Pin
John C Rayan23-Mar-16 3:33
professionalJohn C Rayan23-Mar-16 3:33 
QuestionWhat is difference between form authentication and claim authentication Pin
Tridip Bhattacharjee23-Mar-16 1:27
professionalTridip Bhattacharjee23-Mar-16 1:27 
AnswerRe: What is difference between form authentication and claim authentication Pin
Richard MacCutchan23-Mar-16 2:38
mveRichard MacCutchan23-Mar-16 2:38 
GeneralRe: What is difference between form authentication and claim authentication Pin
Tridip Bhattacharjee24-Mar-16 6:48
professionalTridip Bhattacharjee24-Mar-16 6:48 
GeneralRe: What is difference between form authentication and claim authentication Pin
Richard MacCutchan24-Mar-16 7:06
mveRichard MacCutchan24-Mar-16 7:06 
GeneralRe: What is difference between form authentication and claim authentication Pin
Tridip Bhattacharjee26-Mar-16 9:57
professionalTridip Bhattacharjee26-Mar-16 9:57 
GeneralRe: What is difference between form authentication and claim authentication Pin
Richard MacCutchan26-Mar-16 21:09
mveRichard MacCutchan26-Mar-16 21:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.