title: MVVM where to put Data Access Layer?
body: <p>I am investigating WPF's MVVM design pattern. But am unsure where to put the Data Acess code?</p>
  
  <p>In some examples I have looked at, data access is performed directly in the ViewModel. It seems odd to put something like linq to sql in the ViewModel? Other examples have a seperate project for Data Access, this seems more like it? </p>
  
  <p>Is this there a general approach? I feel like I am missing something here!</p>
  
  <p>Thanks</p>