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


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?


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.

wrote Feb 14, 2013 at 2:00 AM