Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Jochen Arndt22-Sep-17 0:23
professionalJochen Arndt22-Sep-17 0:23 
GeneralRe: I wants to convert a string to an array of bytes using UTF-8 encoding and write it to a file, which of the following code should be use ? Pin
Rob Philpott22-Sep-17 1:15
Rob Philpott22-Sep-17 1:15 
QuestionImplementing a COM Message Filter, it always fails... Pin
Joan M21-Sep-17 5:57
professionalJoan M21-Sep-17 5:57 
SuggestionRe: Implementing a COM Message Filter, it always fails... Pin
Richard Deeming21-Sep-17 6:14
mveRichard Deeming21-Sep-17 6:14 
GeneralRe: Implementing a COM Message Filter, it always fails... Pin
Joan M21-Sep-17 6:21
professionalJoan M21-Sep-17 6:21 
GeneralRe: Implementing a COM Message Filter, it always fails... Pin
Richard Deeming21-Sep-17 6:37
mveRichard Deeming21-Sep-17 6:37 
GeneralRe: Implementing a COM Message Filter, it always fails... Pin
Joan M21-Sep-17 7:26
professionalJoan M21-Sep-17 7:26 
QuestionEntity Framework Questions - Round 1 Pin
Kevin Marois21-Sep-17 4:11
professionalKevin Marois21-Sep-17 4:11 
I have yet to take the time to learn EF, but I do have a few questions:

1). How does EF know if the data on an entity has been changed, and if so, in what way? For example, if I create a new instance of an entity, populate it, then send it to the repo, how does the repo know to do an insert instead of an up date?

2) When I query something and get back an entity, then change something on the entity, how does EF know what has changed? Does the entity contain old/new values somehow?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Entity Framework Questions - Round 1 Pin
Nathan Minier21-Sep-17 4:46
professionalNathan Minier21-Sep-17 4:46 
GeneralRe: Entity Framework Questions - Round 1 Pin
Kevin Marois21-Sep-17 4:48
professionalKevin Marois21-Sep-17 4:48 
GeneralRe: Entity Framework Questions - Round 1 Pin
Nathan Minier21-Sep-17 5:19
professionalNathan Minier21-Sep-17 5:19 
AnswerRe: Entity Framework Questions - Round 1 Pin
C. David Johnson6-Oct-17 7:15
C. David Johnson6-Oct-17 7:15 
GeneralRe: Entity Framework Questions - Round 1 Pin
Nathan Minier10-Oct-17 2:34
professionalNathan Minier10-Oct-17 2:34 
AnswerRe: Entity Framework Questions - Round 1 Pin
Gerry Schmitz21-Sep-17 13:05
mveGerry Schmitz21-Sep-17 13:05 
QuestionHow to save an excel file via network ? Pin
Member 1342184321-Sep-17 3:06
Member 1342184321-Sep-17 3:06 
GeneralRe: How to save an excel file via network ? Pin
Richard MacCutchan21-Sep-17 3:17
mveRichard MacCutchan21-Sep-17 3:17 
AnswerRe: How to save an excel file via network ? Pin
Eddy Vluggen21-Sep-17 6:28
professionalEddy Vluggen21-Sep-17 6:28 
AnswerRe: How to save an excel file via network ? Pin
Gerry Schmitz21-Sep-17 13:06
mveGerry Schmitz21-Sep-17 13:06 
Questionperformance counter in visual studio 217 C# Pin
AMMAR ALNAJIM20-Sep-17 20:41
AMMAR ALNAJIM20-Sep-17 20:41 
AnswerRe: performance counter in visual studio 217 C# Pin
Pete O'Hanlon20-Sep-17 21:10
mvePete O'Hanlon20-Sep-17 21:10 
AnswerRe: performance counter in visual studio 217 C# Pin
OriginalGriff20-Sep-17 22:59
mveOriginalGriff20-Sep-17 22:59 
AnswerRe: performance counter in visual studio 217 C# Pin
Eddy Vluggen20-Sep-17 23:20
professionalEddy Vluggen20-Sep-17 23:20 
QuestionC#-Form-DataGridView-Hangs Pin
Member 1341980320-Sep-17 3:05
Member 1341980320-Sep-17 3:05 
AnswerRe: C#-Form-DataGridView-Hangs Pin
Richard MacCutchan20-Sep-17 3:27
mveRichard MacCutchan20-Sep-17 3:27 
AnswerRe: C#-Form-DataGridView-Hangs Pin
Eddy Vluggen20-Sep-17 3:38
professionalEddy Vluggen20-Sep-17 3: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.