Category: Entity Framework

SingleOrDefault vs. FirstOrDefault in LINQ

The LINQ (Language Integrated Query) has the extension methods SingleOrDefault and FirstOrDefault . What is the difference between SingleOrDefault and FirstOrDefault in LINQ. In one of my previous blog post , I wrote about .First() …

LINQ tutorials and Resource Links

Want to learn LINQ(Language Integrated Query) in .NET ? In this blog post , I will share links to some LINQ tutorials that the developers find interesting and useful to get started with. What is …

Using the operator AND in LINQ

Recently , I had received an query from one of my blog readers asking the question related to SQL and LINQ . “In SQL , we can use AND operator when checking for multiple conditions …

LIKE operator in LINQ

Does the LINQ(Language Integrated Query) have the LIKE operator like the one we have in the SQL Server or any other databases ? I have been searching for similar function in LINQ and below are …

Entity Framework 4.3.0 Beta 1 Released

Microsoft’s ADO.NET Team announces the release of Entity Framework 4.3.0 Beta 1 which includes a number of bug fixes for DbContext API and Code First . The current release is also about integrating migrations in …