"You could just look at the BackgroundMotion project which used LINQ-2-SQL and used a Repository pattern (with UoW, InMemoryDB testing etc etc). "