what is the return value for SubmitChanges() in Linq?
Like in common c# language
when I insert any record to database and then it returns no of rows changed to database in int format.
then I can compare like below code
SqlCommand cmd = new SqlCommand();
if(cmd.ExecuteNonQuery()>0)
{
//.... to do task
response.Write("Record Saved");
}
like this can I perform same task in LINQ then what will be the scenario for this.
please give suggestion.