Click here to Skip to main content
15,887,214 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Make setup file Pin
Member 136226275-Feb-18 2:14
Member 136226275-Feb-18 2:14 
GeneralRe: Make setup file Pin
Eddy Vluggen5-Feb-18 2:26
professionalEddy Vluggen5-Feb-18 2:26 
GeneralRe: Make setup file Pin
Member 136226275-Feb-18 2:48
Member 136226275-Feb-18 2:48 
GeneralRe: Make setup file Pin
Eddy Vluggen5-Feb-18 2:52
professionalEddy Vluggen5-Feb-18 2:52 
GeneralRe: Make setup file Pin
Member 136226275-Feb-18 3:30
Member 136226275-Feb-18 3:30 
GeneralRe: Make setup file Pin
Eddy Vluggen5-Feb-18 5:08
professionalEddy Vluggen5-Feb-18 5:08 
QuestionStrange behaviour with Entirty Framework Query Pin
desanti29-Jan-18 9:35
desanti29-Jan-18 9:35 
AnswerRe: Strange behaviour with Entirty Framework Query Pin
Richard Deeming29-Jan-18 10:30
mveRichard Deeming29-Jan-18 10:30 
Welcome to the wonderfully over-complicated world of Entity Framework! Smile | :)

The answer is actually somewhere in between the two: EF loads the matching entities from the database, which is why nm1 is returned; but when it sees that it's trying to load an entity that's already in the local cache, it ignores the data returned from the database, and returns the cached item instead.

There are various ways to work around this documented here:
Entity Framework Cache Busting | Codethug[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Strange behaviour with Entirty Framework Query Pin
desanti29-Jan-18 13:41
desanti29-Jan-18 13:41 
GeneralRe: Strange behaviour with Entirty Framework Query Pin
Richard Deeming30-Jan-18 0:32
mveRichard Deeming30-Jan-18 0:32 
QuestionHow can I group multiple datatable columns, with sum/count colyms Pin
Member 1361559729-Jan-18 7:55
Member 1361559729-Jan-18 7:55 
AnswerRe: How can I group multiple datatable columns, with sum/count colyms Pin
Eddy Vluggen29-Jan-18 12:06
professionalEddy Vluggen29-Jan-18 12:06 
GeneralRe: How can I group multiple datatable columns, with sum/count colyms Pin
Member 1361559730-Jan-18 23:28
Member 1361559730-Jan-18 23:28 
GeneralRe: How can I group multiple datatable columns, with sum/count colyms Pin
Eddy Vluggen31-Jan-18 1:28
professionalEddy Vluggen31-Jan-18 1:28 
QuestionCSV to Datagridview Pin
mishphar26-Jan-18 8:28
mishphar26-Jan-18 8:28 
AnswerRe: CSV to Datagridview Pin
Gerry Schmitz27-Jan-18 12:28
mveGerry Schmitz27-Jan-18 12:28 
AnswerRe: CSV to Datagridview Pin
Richard MacCutchan27-Jan-18 20:56
mveRichard MacCutchan27-Jan-18 20:56 
QuestionCompiler does not see reference to control. Closed Pin
mo149226-Jan-18 5:45
mo149226-Jan-18 5:45 
QuestionAdding two numbers together? Pin
MallardsReach25-Jan-18 23:34
MallardsReach25-Jan-18 23:34 
AnswerRe: Adding two numbers together? Pin
Ralf Meier26-Jan-18 0:19
mveRalf Meier26-Jan-18 0:19 
SuggestionRe: Adding two numbers together? Pin
Richard Deeming26-Jan-18 2:40
mveRichard Deeming26-Jan-18 2:40 
GeneralRe: Adding two numbers together? Pin
Ralf Meier26-Jan-18 6:53
mveRalf Meier26-Jan-18 6:53 
GeneralRe: Adding two numbers together? Pin
MallardsReach26-Jan-18 5:57
MallardsReach26-Jan-18 5:57 
AnswerRe: Adding two numbers together? Pin
Dave Kreskowiak26-Jan-18 4:43
mveDave Kreskowiak26-Jan-18 4:43 
GeneralRe: Adding two numbers together? Pin
MallardsReach26-Jan-18 5:59
MallardsReach26-Jan-18 5:59 

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.