Export (0) Print
Expand All

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.

  NameDescription
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.

Community Additions

ADD
Show:
© 2014 Microsoft