2 out of 4 rated this helpful - Rate this topic

DataContext.ExecuteQuery Method

Executes SQL queries directly on the database.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ExecuteQuery<TResult>(String, Object[]) Executes SQL queries directly on the database and returns objects.
Public method ExecuteQuery(Type, String, Object[]) Executes SQL queries directly on the database.
Top

This method is a pass-through mechanism to provide for scenarios in which the capabilities of LINQ to SQL are insufficient to achieve the results that you want.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ