I just blogged about a LinqToSqlRepository<T> base class, which extends LinqToSqlDomainService<T>, that I have implemented as a generic repository to allow myself and other developers the ability to consume RIA Domain Services from
an ASP.NET and MVC applications. I am calling it RiaServicesContrib.Mvc as it is purely server side code at the moment. Please read about my solution, download the source code and let me know if you would be interested in including this library
as part of the WCF RIA Services Contrib project.