Skip to content

{ Tag Archives } sql server

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
{
[...]

Also tagged ,

Sometimes, SELECT Really Is Broken

We got a bug report from a customer the other day; a certain query in one of our web services was giving the following error:
A column has been specified more than once in the order by list. Columns in the order by list must be unique.
Seems clear enough, except that

There was no duplication in [...]

Also tagged ,

Bad Behavior has blocked 713 access attempts in the last 7 days.

Close