3
Vote

How should I encapsulate offline awareness in my data access layer?

description

A related question may be, SHOULD I encapsulate offline awareness into my data access layer or does this belong in an outer layer or cross-cutting capability. How can this be done and what patterns can be used to help?

comments

dbrowne wrote Dec 15, 2008 at 2:48 PM

No. The data access layer is online, by definition. If the application uses a seperate set of services in offline scenarios, or the DAL communicates with an offline store, that's not the concern of the DAL.