- Cast the query object into an "ObjectQuery<Product>" for being able to access the "ToTraceString()" function.
- Run the application and you will get the following output.
- Now change the LINQ query so that there are additional constraints.
- Run the application again to compare the differences in the generated SQL statements.
- Now add a Lambda expression to see what type of SQL statements are generated in this case.
- Run the application and you will get the following output.
![Share/Save/Bookmark](http://static.addtoany.com/buttons/share_save_171_16.png)
1 comment:
Thank you for creating the training series for ADO.NET Entity Framework. Appreciate very much.
Post a Comment