Click here to Skip to main content
15,881,898 members
Articles / Programming Languages / C#

Use dynamic type in Entity Framework 4.1 SqlQuery() method

Rate me:
Please Sign up or sign in to vote.
4.38/5 (5 votes)
4 Jun 2011Ms-PL1 min read 111.1K   15  
The DbContext.Database.SqlQuery() method offers a way to execute a SQL command then map the returning result set to a strongly typed object or a list of strongly typed objects.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Software Developer (Senior) Microsoft
Singapore Singapore
Mark is a Windows developer, he mainly works for building libraries and tools for the developers, and as well he designs and implements Windows based applications.

Comments and Discussions