Code Mastery Event

I participated in Code Mastery event yesterday.  The event was put on by my company Magenic as an all day free community training event.  It was all about CSLA.  The author if this widely used framework, Rocky Lhotka himself was in attendance.  He presented on two topics.  Yours truly spoke on CSLA and XAML technologies.  …

Continue reading ‘Code Mastery Event’ »

Update to EF Code First Extras Project

Today I issued an update to my Code Plex project that will contain a number of extras for Entity Framework Code First based applications.  You can find the project here. I added repository project to the solution, containing base repository classes.  I had time analyze the problem some more and decided to make a few …

Continue reading ‘Update to EF Code First Extras Project’ »

Entity Framework Thoughts

I have been thinking for a little while about the future of Entity Framework, feature set on the horizon, and trying to ascertain where I would like to concentrate my next “free time” project. If you have not been keeping up with Entity Framework, please read the last few posts on the Entity Framework design …

Continue reading ‘Entity Framework Thoughts’ »

Consuming WCF REST Service from WP 7

In this post I will explore a possibility of talking to a WCF REST Service from a Windows Phone 7 device.  This should complete my posts related to consuming and working with data on Windows Phone 7. I am going to start with creating a WCF REST Service.  First of all, I am going to …

Continue reading ‘Consuming WCF REST Service from WP 7’ »

Entity Framework June CTP

Entity Framework CTP was just released.  It contains a large number of new features, including enumerations support and spatial types.  There are also important optimization improvements, such as automatically compiled queries and SQL generation improvements.  You can read more details here. Enjoy.

Correcting Sorting Issues in Entity Framework Repository

I posted earlier on how to implement repository pattern using Entity Framework Code First, while removing a dependency on IQueryable interface.  I identified an issue that still existed in that code related to sorting.  Sorting is a tricky part because SortBy method on IQueryable needs to have two generic parameters: item type and property that …

Continue reading ‘Correcting Sorting Issues in Entity Framework Repository’ »

Conclusion On Repository Pattern with Entity Framework

I have written a number of posts on this pattern lately. One thing that I used in some of them is return IQueryable. The idea behind this is to limit the number of Select methods to one in your repository. This goal is achieved by allowing calling code to append where or order by information …

Continue reading ‘Conclusion On Repository Pattern with Entity Framework’ »