Browse by Tags
All Tags »
.NET »
Entity Framework (
RSS)
You may know that Entity Framework Code First has a nice property called Local which lets you iterate through all the entities loaded by the current context (first level cache) . This comes handy at times, so I decided to check if it would be difficult...
At last! Get it from here .
Updated for NHibernate Updated thanks to a comment by Samuel Jack! Thanks, Samuel! As you know, different LINQ O/RMs offer different ways to eagerly fetch associations: NHibernate offers several methods, including the HQL fetch keyword, extension method...
Here's a common scenario: you are using an EntityDataSource control which you are binding to a data control, perhaps a ListView , DataGrid , DataList , Repeater , or GridView . The problem is, you want to do some custom binding. This happens, for example...
Entity Framework, LINQ to SQL and ASP.NET MVC support Microsoft's new validation API, which you can find on System.ComponentModel.DataAnnotations . It basically consists on attribute classes, inherited from System.ComponentModel.DataAnnotations.ValidationAttribute...
I just got Julia ("Julie") Lerman's Programming Entity Framework book. You will find her site here . I like the book, and I like EF, but I wasn't aware of the many limitations that the current version of Entity Framework has, particularly when comparing...
More Posts