Entities Seem directly coupled to database RRS feed

  • Question

  • I am new to Linq to SQL and have yet to look at Linq to Entities. I like to design in sort of a domain driven design manner where I have a set of generic classes implemented as business objects. data is loaded into these objects using a repository. I have used nHibernate to implement this pattern.

    I am looking to do something simular using Linq to SQL. It seem the "entity" classes used are very much bound to database tables.

    I have seen how classes can be wired to tables using attributes and an xml file, but there still seems to be quit a bit of development to do for each of these classes.

    is it reasonable to use Linq to SQL or Linq to Entities for this type of thing.


    Wednesday, July 14, 2010 6:55 PM


All replies