Ad-hoc SQL/POCO Queries in Entity Framework 4.0
Since version 4.0, the Entity Framework has had the ability to query un-mapped data and project it onto POCOs using ad-hoc SQL.
Here, for example, is how we check the current SQL Server version:
internal class SqlVersionInfo
{
[...]