October 2010
Intermediate to advanced
1920 pages
73h 55m
English
One concern that everyone has when they start working with LINQ to SQL is the problem of representing dynamic queries. When you create a query by using ADO.NET and SQL, you can dynamically modify the SQL query simply by modifying the string that represents the SQL command. When working with LINQ to SQL, on the other hand, you can’t do this because you are not working with strings.
In this section, we explore two methods of executing dynamic queries. You learn how to pass normal SQL commands while using LINQ to SQL. You also learn how to dynamically build LINQ to SQL query expressions.
If you simply want to execute a SQL statement or query, and you don’t want to use ADO.NET directly, you can take ...
Read now
Unlock full access