Click here to Skip to main content
15,891,633 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: AutomationID to WPF controls Pin
Abhinav S18-Oct-11 3:32
Abhinav S18-Oct-11 3:32 
GeneralRe: AutomationID to WPF controls Pin
pal2ashish18-Oct-11 19:21
pal2ashish18-Oct-11 19:21 
QuestionMVVM question: hierarchical model representation Pin
Member 103390713-Oct-11 11:06
Member 103390713-Oct-11 11:06 
AnswerRe: MVVM question: hierarchical model representation Pin
Alisaunder14-Oct-11 1:13
Alisaunder14-Oct-11 1:13 
QuestionRe: MVVM question: hierarchical model representation Pin
Member 103390714-Oct-11 3:53
Member 103390714-Oct-11 3:53 
AnswerRe: MVVM question: hierarchical model representation Pin
SledgeHammer0114-Oct-11 5:01
SledgeHammer0114-Oct-11 5:01 
GeneralRe: MVVM question: hierarchical model representation Pin
SledgeHammer0114-Oct-11 5:47
SledgeHammer0114-Oct-11 5:47 
GeneralRe: MVVM question: hierarchical model representation Pin
SledgeHammer0114-Oct-11 6:30
SledgeHammer0114-Oct-11 6:30 
Actually, my response was 100% correct given the information the poster gave. Whether he said it was an example or not is irrelevant. He did not indicate that code involved was not his or off limits. Had he responded to my response with that fact, I may have provided a different answer.

For now, I will stand by my response that separating the data layer into a POCO and a M just for the sake of doing so (thinking it is a good separation of duty) is completely un-necessary and completely over-engineered and it would have completely solved his problem of converting between a Day and a DayModel.

Just as I will stand by my other response (that you also down voted) that the use of partial classes is completely proper. If you hate partial classes, well, you better go and explain yourself to Bill Gates (er, Steve Balmer) because pretty much ALL his technologies use them. Winforms, WPF, WCF, ADO.NET, etc.

EDIT: BTW, I gave your post a 3 (should have probably gone lower though) because it was an abuse of technology given the scenario. Use of factories and DI for such a simple problem? Really? Why not go even further and use a remote https server behind a firewall using 512 bit encryption and a separate validation server to ensure the object is valid? Laugh | :laugh:
GeneralRe: MVVM question: hierarchical model representation Pin
SledgeHammer0114-Oct-11 8:07
SledgeHammer0114-Oct-11 8:07 
GeneralRe: MVVM question: hierarchical model representation Pin
SledgeHammer0114-Oct-11 8:22
SledgeHammer0114-Oct-11 8:22 
GeneralRe: MVVM question: hierarchical model representation Pin
Member 103390714-Oct-11 8:00
Member 103390714-Oct-11 8:00 
GeneralRe: MVVM question: hierarchical model representation Pin
SledgeHammer0114-Oct-11 8:19
SledgeHammer0114-Oct-11 8:19 
GeneralRe: MVVM question: hierarchical model representation Pin
Member 103390714-Oct-11 9:13
Member 103390714-Oct-11 9:13 
QuestionSetting combobox width by binding Pin
Preston Phillips13-Oct-11 10:30
Preston Phillips13-Oct-11 10:30 
GeneralRe: Setting combobox width by binding Pin
Preston Phillips13-Oct-11 10:51
Preston Phillips13-Oct-11 10:51 
GeneralRe: Setting combobox width by binding Pin
Preston Phillips14-Oct-11 8:37
Preston Phillips14-Oct-11 8:37 
QuestionSet DisplayMemberPath For Dynamic Combobox Pin
Matt Tapia11-Oct-11 8:20
Matt Tapia11-Oct-11 8:20 
AnswerRe: Set DisplayMemberPath For Dynamic Combobox Pin
Wayne Gaylard12-Oct-11 1:09
professionalWayne Gaylard12-Oct-11 1:09 
GeneralRe: Set DisplayMemberPath For Dynamic Combobox Pin
Matt Tapia12-Oct-11 4:19
Matt Tapia12-Oct-11 4:19 
GeneralRe: Set DisplayMemberPath For Dynamic Combobox Pin
Alisaunder13-Oct-11 2:46
Alisaunder13-Oct-11 2:46 
GeneralRe: Set DisplayMemberPath For Dynamic Combobox Pin
Wayne Gaylard13-Oct-11 2:59
professionalWayne Gaylard13-Oct-11 2:59 
QuestionWPF Datagrid checkbox property not updated Pin
Preston Phillips11-Oct-11 8:17
Preston Phillips11-Oct-11 8:17 
AnswerRe: WPF Datagrid checkbox property not updated Pin
Wayne Gaylard12-Oct-11 1:11
professionalWayne Gaylard12-Oct-11 1:11 
GeneralRe: WPF Datagrid checkbox property not updated Pin
Preston Phillips12-Oct-11 3:52
Preston Phillips12-Oct-11 3:52 
GeneralRe: WPF Datagrid checkbox property not updated Pin
Preston Phillips12-Oct-11 4:38
Preston Phillips12-Oct-11 4:38 

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.