Is it possible to apply DDD with generic classes and dynamic queries retrieval? <p>I´m wondering if it´s possible to use DDD without using EF's stuff, cause in my project the classes are generic complex types with generic inheritance that may vary from time to time, also the DB tables and fields may vary from one client DB version to another, also the queries to the database that are dynamically constructed depending of the generic object that it's produced. </p> <p>I'm currently taking into consideration this design pattern: <a href="https://www.google.be/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=3&amp;cad=rja&amp;uact=8&amp;ved=0CC4QFjAC&amp;url=http%3A%2F%2Fmysoftwarebrasil.googlecode.com%2Fsvn%2Ftrunk%2FApostilas%2FN-Layered_Domain_Oriented_Architecture_Gu.pdf&amp;ei=ag41VfDnNMfaaPemgUA&amp;usg=AFQjCNHx-myttEEeUuE9bGuKZzqvdXS5yA&amp;sig2=pO-t4JxMN35HYoJKUIg0AA&amp;bvm=bv.91071109,d.d2s" rel="nofollow">DDD N-Layered .NET 4.0 Architecture Guide </a> by Cesar de la Torre among others.</p> <p>Thank you all in advance. </p>