Click here to Skip to main content
15,887,485 members
Home / Discussions / WPF
   

WPF

 
QuestionPassing Information to the Code behind Pin
Mycroft Holmes20-Dec-15 22:26
professionalMycroft Holmes20-Dec-15 22:26 
AnswerRe: Passing Information to the Code behind Pin
Pete O'Hanlon20-Dec-15 23:21
mvePete O'Hanlon20-Dec-15 23:21 
QuestionWhy do I need a connection string to use an Entity Framework data model? Pin
_T_C_20-Dec-15 7:23
_T_C_20-Dec-15 7:23 
RantRe: Why do I need a connection string to use an Entity Framework data model? Pin
Mycroft Holmes20-Dec-15 12:14
professionalMycroft Holmes20-Dec-15 12:14 
GeneralRe: Why do I need a connection string to use an Entity Framework data model? Pin
_T_C_20-Dec-15 13:04
_T_C_20-Dec-15 13:04 
GeneralRe: Why do I need a connection string to use an Entity Framework data model? Pin
Mycroft Holmes20-Dec-15 19:23
professionalMycroft Holmes20-Dec-15 19:23 
AnswerRe: Why do I need a connection string to use an Entity Framework data model? Pin
Gerry Schmitz20-Dec-15 18:07
mveGerry Schmitz20-Dec-15 18:07 
AnswerRe: Why do I need a connection string to use an Entity Framework data model? Pin
_T_C_21-Dec-15 7:18
_T_C_21-Dec-15 7:18 
Mr. Holmes and Mr. Schmitz,

Thank you for the replies. I appreciate the information you've provided, but I must be failing to grasp some key concept because Entity Framework's behavior in this respect still seems like a mystery to me. In an attempt to get at the answer from a different direction, let me turn the question around and ask it this way: If you had to code an application which generates a few megabytes of relational data, with no requirement to save those data, what technology would you use?

I would expect that to be a common scenario. A lot of extract/transform/load applications would probably fit that description. Let me offer a specific example: I need to read lab data from a few data sources, then filter, transform, and analyze the data, then offer a few charts & reports and the ability to export the results in various formats. What technologies would be useful for such a project?

To my uninformed eye, Entity Framework seems a likely candidate. With Entity Framework, I can define the data model for my generated data using an intuitive GUI, and Entity Designer will write code to implement all the entities, relationships, and constraints for me. That will save me some time and enforce some consistency. Better yet, my data model will be self-documented in a relationship diagram, right there in the Visual Studio project, which is far better than any alternative I can think of. Why wouldn't I use Entity Framework for that reason alone? Even though I'm not using Entity Framework's ORM capabilities, those are a bonus too, because I have an easy migration path if the project ever evolves into something that requires persistent data. Furthermore, it means the data modeling syntax for this project will be the same as the data modeling syntax for other projects which require Entity Framework's ORM capabilities, lessening the overall learning curve for my team.

But if Entity Framework is really appropriate for this scenario, then why is it demanding a connection string? That one detail has made me suspicious that I am missing something which makes Entity framework wholly inappropriate here. I feel that I need to keep digging until I figure it out.

Please let me know if you have any further insight. In any case, I thank you for the advice you've provided thus far.

-TC
GeneralRe: Why do I need a connection string to use an Entity Framework data model? Pin
Gerry Schmitz23-Dec-15 11:29
mveGerry Schmitz23-Dec-15 11:29 
QuestionHow do I bind based on the value selected in a list box? Pin
_T_C_19-Dec-15 15:45
_T_C_19-Dec-15 15:45 
AnswerRe: How do I bind based on the value selected in a list box? Pin
_T_C_19-Dec-15 17:59
_T_C_19-Dec-15 17:59 
SuggestionRe: How do I bind based on the value selected in a list box? Pin
Richard Deeming4-Jan-16 3:55
mveRichard Deeming4-Jan-16 3:55 
QuestionRequest for help with simple WPF Pin
_T_C_18-Dec-15 11:14
_T_C_18-Dec-15 11:14 
AnswerRe: Request for help with simple WPF Pin
Gerry Schmitz18-Dec-15 11:34
mveGerry Schmitz18-Dec-15 11:34 
GeneralRe: Request for help with simple WPF Pin
_T_C_18-Dec-15 11:53
_T_C_18-Dec-15 11:53 
GeneralRe: Request for help with simple WPF Pin
Gerry Schmitz18-Dec-15 12:08
mveGerry Schmitz18-Dec-15 12:08 
GeneralRe: Request for help with simple WPF Pin
_T_C_18-Dec-15 12:42
_T_C_18-Dec-15 12:42 
GeneralRe: Request for help with simple WPF Pin
Gerry Schmitz18-Dec-15 12:57
mveGerry Schmitz18-Dec-15 12:57 
GeneralRe: Request for help with simple WPF Pin
_T_C_18-Dec-15 13:01
_T_C_18-Dec-15 13:01 
GeneralRe: Request for help with simple WPF Pin
Gerry Schmitz18-Dec-15 12:51
mveGerry Schmitz18-Dec-15 12:51 
GeneralRe: Request for help with simple WPF Pin
_T_C_18-Dec-15 12:58
_T_C_18-Dec-15 12:58 
GeneralRe: Request for help with simple WPF Pin
Mycroft Holmes18-Dec-15 13:20
professionalMycroft Holmes18-Dec-15 13:20 
GeneralRe: Request for help with simple WPF Pin
Gerry Schmitz18-Dec-15 13:34
mveGerry Schmitz18-Dec-15 13:34 
AnswerRe: Request for help with simple WPF Pin
Matt T Heffron18-Dec-15 11:58
professionalMatt T Heffron18-Dec-15 11:58 
GeneralRe: Request for help with simple WPF Pin
_T_C_18-Dec-15 12:22
_T_C_18-Dec-15 12:22 

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.