decouple

Entity classes decoupled from LINQ to SQL provider for implementing the Repository pattern. How?

I have looked over the Repository pattern and I recognized some ideas that I was using in the past which made me feel well. However now I would like to write an application that would use this pattern BUT I WOULD LIKE TO HAVE THE ENTITY CLASSES DECOUPLED from the repository provider. I would create several assemblies : an "Interfaces...

Silverlight 3 Ria Services reference

I have a Silverlight project where functionality is segregated across multiple Silverlight libraries due to the size and complexity of the application. I am having problems figuring what is the best way to decouple the RIA Domain Service that gets generated from the Website project. I need to be able to access data from the other librari...

Using Linq Expressions to decouple client side from DAL (which is server side)

Hi folks. I could not find the answer amongst the many posts on Linq, so here I am. We have a client-server application, where the client side has absolutely no knowledge of the actual DAL on the server side, which is incidentally implemented using NHibernate. Meaning, there is no references to NHibernate from the client side assemblies,...

Design Time (xml config) and run-time params using ms unity framework

I am using the MS unity framework to create a simple object factory. I have created the .config file to map interface ICAR to object CAR. It works great using the default constructor. Now, when I want to add a second constructor that takes in an int (id), I am having troubles. I have seen examples where you can pass in this param to the ...

What's the most used philosophy of keeping independent concepts separate in OOP?

Or according to your own experience, what's your favorite trick ? ...