I am working on a project in which I have made changes to LINQ to SQL code in data access layer project.
Initially the code was using Single() extension method, I have changed it to SingleOrDefault() was earlier method was throwing exception if no records found in db.
After making changes I ran the project but during debugging VS 2008 was showing that file is changed and do you want to reload the file box. When selected the file, the debugger was still executing the commented code (Single() method).
I tried cleaning the entire solution and rebuilding it but it did not help. All the projects (Presentation, BL, DAL) are under single solution.
Can any one please help me to solve the issue?
Thanks in advance.
View Complete Post