Linq2Sql Best Practices

Posted by this. __curious_geek on Stack Overflow See other posts from Stack Overflow or by this. __curious_geek
Published on 2010-05-17T07:02:34Z Indexed on 2010/05/31 5:02 UTC
Read the original article Hit count: 277

Filed under:

I'm recently migrating to Linq2Sql and all my future projects will be using Linq2Sql. Having said that, I researched a lot on how to properly plug-in Linq2Sql in application design.

  • what to put at what layer ?
  • How do you design your repositories and business layer services ?
  • Should I use DTOs over Linq2Sql entities on interaction layer ?
  • what things should I be careful about ?
  • what problems did you face ?

I did not find any rock-solid material that really talked about one single thing and everyone have their own opinions. I'm looking forward to your ideas on how to integrate/use Linq2Sql in projects. My priority is maintenance[it should be maintenable and when multiple people work on same project] and scalabilty [it should have scope of evolution].

Thanks.

© Stack Overflow or respective owner

Related posts about linq-to-sql