Entity Framework

Review – 70-516 Exam Accessing Data with Microsoft .NET Framework 4 Preparation Kit from uCertify

Few weeks back, I had received an offer from uCertify to review their Exam Preparation Kit for the Microsoft Certification exam MCTS – 70-516 Accessing Data with Microsoft .NET Framework 4. In one of my previous blog post, I shared the first look of the Accessing Data with Microsoft .NET Framework 4 Preparation Kit from uCertify.  In this blog post, I will share some further information and review of the Acc Read More....

Be the first to comment - What do you think?
Posted by Senthil Kumar - February 4, 2012 at 8:18 pm

Categories: Entity Framework, General   Tags: , , ,

Reviewing Exam- 70-516 Accessing Data with Microsoft .NET Framework 4 PrepKit from uCertify

I have got a offer from uCertify to review their PrepKit and I have accepted that challenge and now I am reviewing  70-516-CSHARP: TS: Accessing Data with Microsoft .NET Framework 4 PrepKit from uCertify. Initially it looks very simple and easy to use and learn . As soon as I am done with the full review I will post it for you all . In this blog post , i will be sharing some information about uCertify and the MCTS Read More....

Be the first to comment - What do you think?
Posted by Senthil Kumar - January 16, 2012 at 11:12 pm

Categories: Entity Framework, General   Tags: , ,

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 to the Entity Framework Nuget package . Microsoft’s ADO.NET Team also announced the plans that the current release is the last pre-release version of migrations and the next release will be Enti Read More....

Be the first to comment - What do you think?
Posted by Senthil Kumar - January 13, 2012 at 11:31 pm

Categories: Entity Framework   Tags: , ,

Using Aggregate Function on Arrays in C#

If you have got an array of integers and you want to multiple the values inside the array and display its value without using for loop  , here’s one of the ways to achieve it using the LINQ and Lambda expression . Assuming the array of integer has the following values int[] marks = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; You can multiply each of the values inside the integer array without using any for loop or fo Read More....

Be the first to comment - What do you think?
Posted by Senthil Kumar - January 5, 2012 at 10:30 pm

Categories: C#, Entity Framework   Tags: , ,

How to order by multiple columns using Lambas and LINQ in C# ?

Today , i was required to order a list of records based on a Name and then ID . A simple one but i did spend some time on how to do it with Lambda Expression in C# . C# provides the OrderBy,OrderByDescending,ThenBy,ThenByDescending . You can use them in your lambda expression to order the records as per your requirement . Assuming your list is “Phones” and contains the following data … public clas Read More....

4 comments - What do you think?
Posted by Senthil Kumar - December 23, 2011 at 7:31 pm

Categories: C#, Entity Framework   Tags: , ,

LINQ Equivalent of SQL’s “IN” keyword

I came across the requirement to use the “IN” equivalent of LINQ when using Entity Framework . I am sure most of the .NET Developers would also have come across a situation to use “IN” in LINQ . Here’s an example  . The SQL Query looks like this SELECT * FROM MOVIES WHERE MOVIENAME IN ('Velayutham','Nanban(3 idiots)','Pagalvan','Yohan  Adhyayam Ondru','Maalai Neram Mazhaithuli') When Read More....

3 comments - What do you think?
Posted by Senthil Kumar - August 11, 2011 at 10:04 pm

Categories: .NET, Entity Framework   Tags: , , , , ,

.First() throws Error in LINQ or Entity Framework Queries

I use .First() method in some of the Entity Framework LINQ queries to return only one record . This works perfectly similar to the select Top 1 statemnent in SQL . Eg : var data = (from m in Employees     where m.Name == "Senthil"     select m).First() But , there is an issue with this . Assume your LINQ Query does not contain any Records or the SQL Statement ( TOP 1 ) does not return any records . What would Read More....

3 comments - What do you think?
Posted by Senthil Kumar - November 3, 2010 at 11:16 pm

Categories: .NET, C#, Entity Framework, Visual Studio 2010, Windows Application   Tags: , , , , , ,

Not supported in LINQ to Entities and Entity Framework ..

I was forced to explore something interesting when i was playing around with the Entity Framework and executing the below LINQ query. EmployeeEntities entityContext = new EmployeeEntities(); var Records = (from m in entityContext.Employees   Select m).LastOrDefault(); My assumption was that the result would be the last record in the table .. But to my surprise , it threw an Exception LINQ to Entities does not re Read More....

5 comments - What do you think?
Posted by Senthil Kumar - October 25, 2010 at 10:13 pm

Categories: .NET, C#, Entity Framework, Visual Studio 2010   Tags: , , , , , , , , , ,

Caught up with Bugs in My Favourite IDE ( Visual Studio 2010 )

Well , for the last few months i have been facing some serious issues in running Visual Studio 2010  as a result of some error messages / bugs . Here are some of the messages / bugs that i was able to capture .For some of the problems i was able to find the fix/update from the Microsoft Connect website , but for others i am still hunting for one  . 1. Catastrophic failure Puzzled , puzzled and Puzzled . Dont Read More....

3 comments - What do you think?
Posted by Senthil Kumar - October 19, 2010 at 9:25 pm

Categories: .NET, C#, Entity Framework, Visual Studio 2010, Windows Application   Tags: , , , , , , , , , , , ,

Stepping out of my Comfort Zone

Just a few days back , i came across the blog post by Davy Brion on "You Need To Step Out Of Your Comfort Zone" . Well an Excellent article by Davy . David talks about the upside and the downside of his experience and thoughts on “instead of learning a lot of languages, wouldn’t it better to really focus on one and know it very thoroughly?” ....

Read more...

4 comments - What do you think?
Posted by Senthil Kumar - October 3, 2010 at 11:04 pm

Categories: .NET, C#, Entity Framework, General, Personal, Visual Studio 2010   Tags: , , , , , , , , , , , , ,

9th Edition of Microsoft’s Virtual Techdays

Microsoft Virtual Techdays is back . It is one of the India’s premier online technical event and this time its the 9th Edition and will be held from August 18-20 , 2010 . The Microsoft’s Virtual Techdays is an Online event and will have about 30 sessions everyday and is completely FREE. The tracks are categorized by targetting Developers , IT / Infrastructure Professionals , Enterprise Developers etc & Read More....

Be the first to comment - What do you think?
Posted by Senthil Kumar - August 13, 2010 at 11:33 pm

Categories: .NET, ASP.NET, ASP.NET MVC, C#, Compact Framework / Windows Mobile, Entity Framework, Events, F#, Mono, Security, Visual Studio 2010, Windows Application, Windows Phone 7   Tags: , , , , , , , , , , , , , , , , ,

Entity Framework Feature CTP 4 Released

The Microsoft's ADO.NET team has released the latest Entity Framework Feature CTP,which is now available for Download from the Microsoft's Download center . Remember that Entity Framework 4 was released together with Visual Studio 2010 in April 2010 The new CTP is called as Entity Framework Feature CTP 4 that includes the early preview of the Code First features.

Read more...

Be the first to comment - What do you think?
Posted by Senthil Kumar - July 15, 2010 at 11:15 pm

Categories: .NET, Entity Framework, Visual Studio 2010   Tags: , , , , ,

© 2011-2012 Senthil Kumar's Blog This is my personal blog .The opinions expressed here represent my own and not those of my employer . All Rights Reserved -- Copyright notice by Blog Copyright