Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExecuteQuery Method

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.

Show:
© 2015 Microsoft