Click here to Skip to main content
15,908,768 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to check function SaveChanges(); for true?
And how to get SQL query from SaveChanges()?
Question about Entity
Posted
Updated 11-Apr-13 1:06am
v3
Comments
Rob Philpott 11-Apr-13 7:15am    
That question makes no sense at all.
[no name] 11-Apr-13 7:24am    
Well did you try bool result = SaveChanges();? Or if(SaveChanges())? Please read http://www.codeproject.com/Articles/64628/Code-Project-Quick-Answers-FAQ, again.
[no name] 11-Apr-13 7:55am    
Thank you!
ZurdoDev 11-Apr-13 8:39am    
Does SaveChanges return a value?
DinoRondelly 11-Apr-13 10:26am    
Doesnt it return the number of rows that were affected?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900