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

WPF

 
GeneralRe: Adding icons to a ListView from an image list Pin
zahalul30-Dec-15 9:17
zahalul30-Dec-15 9:17 
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 
The connection string does more than specify a database: it identifies an EF compatible data provider (which could be based on Excel for that matter).

I suspect that if you tried to "save" your entities, you would get an error if the connection string is invalid and / or the database is missing; EF is not using the connection (string) until it needs it.

There is more than one way to supply a connection (string) to a dbContext; the app.config file is the default. If you created the dbContext with an invalid string in the constructor, that would probably work too for the time being.

(All just speculation since I tend to use the "typical" case).

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 
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 

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.