Monthly Archives: June 2011

IQueryable vs. IEnumerable in the repository pattern

First of all, I’ll tell the difference between the two and why I choose to return IQueryable<T> over IEnumerable<T> in my repository. IQueryable<T> allows you to operate and build queries that can be sent to a remote provider. For eg. Entity

Tagged with:
Posted in .Net Framework

Access User identity object on the silverlight wcf ria service

Simple: Make sure your class inherits from some form of a Domain Service. For eg. LinqToSqlDomainService

Tagged with:
Posted in Silverlight