Click here to Skip to main content
15,890,043 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
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 
AnswerRe: Entity Framework Questions - Round 1 Pin
Nathan Minier21-Sep-17 4:46
professionalNathan Minier21-Sep-17 4:46 
There is a definite line of distinction between your operational entity and your persistent one; I think that's the piece missing in your puzzle.

Nothing is done automatically. If you want to do an upsert you generally need to code that, otherwise you're performing inserts or updates. If you want to modify a persistent entity with values on one that you've been working with, you need to pass it as an update.

Using an ORM like EF doesn't mitigate the need to have decision points about how you manipulate and update data, it just un-tethers the need to have SQL in the mix.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli

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 
Questionmatching exact word c# Pin
Love Allah19-Sep-17 12:42
Love Allah19-Sep-17 12:42 

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.