Browse by Tags

All Tags » Entity Framework (EF) » LINQ To SQL (RSS)

Why using Entity Framework?

In this post, we will use a sample and we will study its implementation with DataReader / LINQ To SQL / Entity Framework. In this sample, we will use the following database : The method I want to code has to return the best 10 members   (order by...

Bug with IQueryable and yield syntax: System.BadImageFormatException "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"

I find a bug if you mix IQueryable and yield syntax. After Diego has changed a little bit my sample to reproduce it, this is the code he sent to the C# team: class Program { static void Main( string [] args) { try { GetCategoryProductsUsingQueryable(...