Now that I'm feeling a bit more comfortable with LINQ to SQL and LINQ to XML, I really wanted to begin exploring the ADO.NET Entity Framework and LINQ to Entities. I started by going to msdn.microsoft.com/data and installed the ADO.NET Entity Framework Beta 3 and ADO.NET Entity Framework Tools CTP 2 (for Beta 3). At first glance, I didn't notice anything new being provided by the Tools CTP, so I started a simple C# Console Application. From the Add New Item menu, I noticed an ADO.NET Entity Data...
Posted On Wednesday, January 23, 2008 9:39 PM | Feedback (0)
I've been playing around with LINQ to Objects and have come across something quite odd... Say we have this statement: Dim myCustomers = From customer In customers _ Where customer.Id = 5 _ Select customer.Id, _ FullName = customer.FirstName & _ " " & customer.LastName For Each customer In myCustomers.Distinct() Console.WriteLine(customer.... Next FullName becomes a ReadOnly Property here and acts as if it belonged to the Customer class. Now, say we take out the first field in the select...
Posted On Thursday, January 03, 2008 9:56 AM | Feedback (0)