R
Richard Martin
Hello.
I need some suggestions regarding an application that I'm working on. The requirements/design spec. indicate that the application needs a separate data access layer, but I'd also like to use the data access application block. We'll be using SQL Server only as the provider.
So, what's the best way to create this separate layer that uses DAAB? I don't believe we need anything as complex as the factory pattern (since we're only having one data provider). But, simply creating a class that calls the DAAB and then returns the results to the calling app seems a little too basic and not very OO. Am I missing something? Are there any good examples?
Thanks.
I need some suggestions regarding an application that I'm working on. The requirements/design spec. indicate that the application needs a separate data access layer, but I'd also like to use the data access application block. We'll be using SQL Server only as the provider.
So, what's the best way to create this separate layer that uses DAAB? I don't believe we need anything as complex as the factory pattern (since we're only having one data provider). But, simply creating a class that calls the DAAB and then returns the results to the calling app seems a little too basic and not very OO. Am I missing something? Are there any good examples?
Thanks.