Last Friday while having a discussion on various LINQ standard query operators the topic of expressing T-SQL CASE statement in LINQ came up.
(more…)
Archive for May, 2010
CASE Statement Equivalent in LINQ
Posted: May 16, 2010 in .NET, ADO.NET Entity FrameworkTags: Entity Framework, LINQ
ADO.NET Entity Framework Data Loading – Part 2
Posted: May 9, 2010 in .NET, ADO.NET Entity FrameworkTags: ADO.NET, Entity Framework
In my last post we have discussed about how to explicitly load data into related objects using EntityReference class.However in .NET Framework 4.0 there is another new way to explicitly load data into related objects using the LoadProperty method of the System.Data.Objects.ObjectContext as shown below:
ADO.NET Entity Framework Data Loading – Part 1
Posted: May 9, 2010 in .NET, ADO.NET Entity FrameworkTags: ADO.NET, Entity Framework
In any Object Relational Mapping (ORM) framework the client code interacts with the objects.The framework maps the same to relational database tables and manages database connection and all the SQL queries.So in this context it is extremely important to understand what are the various mechanisms using which data can be loaded into the objects.In this series of posts we will discuss on how ADO.NET Entity Framework does the same.To start with we will discuss about how the objects are explicitly populated with data.

