Click here to Skip to main content
15,892,674 members
Home / Discussions / C#
   

C#

 
AnswerRe: Install Windows Service Pin
Richard Andrew x6429-Mar-15 5:51
professionalRichard Andrew x6429-Mar-15 5:51 
GeneralRe: Install Windows Service Pin
Kevin Marois29-Mar-15 6:55
professionalKevin Marois29-Mar-15 6:55 
GeneralRe: Install Windows Service Pin
Richard Andrew x6429-Mar-15 7:21
professionalRichard Andrew x6429-Mar-15 7:21 
GeneralRe: Install Windows Service Pin
Dave Kreskowiak29-Mar-15 7:51
mveDave Kreskowiak29-Mar-15 7:51 
GeneralRe: Install Windows Service Pin
Kevin Marois29-Mar-15 10:30
professionalKevin Marois29-Mar-15 10:30 
AnswerRe: Install Windows Service Pin
Richard Andrew x6429-Mar-15 15:00
professionalRichard Andrew x6429-Mar-15 15:00 
GeneralRe: Install Windows Service Pin
Dave Kreskowiak29-Mar-15 17:16
mveDave Kreskowiak29-Mar-15 17:16 
GeneralRe: Install Windows Service Pin
Kevin Marois30-Mar-15 1:27
professionalKevin Marois30-Mar-15 1:27 
AnswerRe: Install Windows Service Pin
Richard Deeming30-Mar-15 2:27
mveRichard Deeming30-Mar-15 2:27 
GeneralRe: Install Windows Service Pin
Dave Kreskowiak30-Mar-15 2:30
mveDave Kreskowiak30-Mar-15 2:30 
GeneralRe: Install Windows Service Pin
Kevin Marois30-Mar-15 2:41
professionalKevin Marois30-Mar-15 2:41 
GeneralRe: Install Windows Service Pin
Dave Kreskowiak30-Mar-15 3:27
mveDave Kreskowiak30-Mar-15 3:27 
GeneralRe: Install Windows Service Pin
Kevin Marois30-Mar-15 3:29
professionalKevin Marois30-Mar-15 3:29 
GeneralRe: Install Windows Service Pin
Dave Kreskowiak30-Mar-15 3:58
mveDave Kreskowiak30-Mar-15 3:58 
GeneralRe: Install Windows Service Pin
Kevin Marois30-Mar-15 3:59
professionalKevin Marois30-Mar-15 3:59 
AnswerRe: Install Windows Service Pin
Pete O'Hanlon30-Mar-15 2:42
mvePete O'Hanlon30-Mar-15 2:42 
GeneralRe: Install Windows Service Pin
Kevin Marois30-Mar-15 2:44
professionalKevin Marois30-Mar-15 2:44 
QuestionDbEntry Pin
Anele Ngqandu29-Mar-15 4:13
Anele Ngqandu29-Mar-15 4:13 
Hi
C#
Student student = context.Students.Find(1);
 student.StudentName = "Anele";
  var success = context.Entry(student).State == EntityState.Modified ? context.SaveChanges() : 0;


DbEntry checks the state of the entity. Now is it legal to check if the entity state has changed before saving the changes to the database or its just no necessary?

Or maybe where exactly can I use the
C#
Entry
in real world solutions?
Act as though it were impossible to fail

AnswerRe: DbEntry Pin
Dave Kreskowiak29-Mar-15 7:48
mveDave Kreskowiak29-Mar-15 7:48 
QuestionSelectednode.text is always null Pin
Member 1070832729-Mar-15 3:36
Member 1070832729-Mar-15 3:36 
QuestionHangMan C# need help! Pin
Munteanu Silviu28-Mar-15 7:21
Munteanu Silviu28-Mar-15 7:21 
AnswerRe: HangMan C# need help! Pin
Sascha Lefèvre28-Mar-15 8:23
professionalSascha Lefèvre28-Mar-15 8:23 
AnswerRe: HangMan C# need help! Pin
Bjørn8-Apr-15 4:24
Bjørn8-Apr-15 4:24 
QuestionPPPoe connection creation in c# Pin
KARFER28-Mar-15 4:00
KARFER28-Mar-15 4:00 
Questionlocalazation simulation Pin
huthiafa27-Mar-15 23:33
huthiafa27-Mar-15 23:33 

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.