where should i place DAAB (v2.0)?

E

Elhanan

hi...

i have a non GUI application and been trying DAAB with typed dataset,
looks cool (after i calm down wondering how can i use typed datasets
with DAAB)..


now i'm wondering, where should i place DAAB calls? should i create
distinct class just for them?

or since it IS allready the datalayer can it be called by other objects
? (for example an abstract factory class, returin classes filled from
the datasets).
 
T

Triax

Good n-tier design says that you put the DAAB calls in your business logic
layer:

Presentation layer
Business layer
Database layer

That way you can isolate your DAAB calls from the Presentation layer.
 
E

Elhanan

thanks, actually i have no presenation layer, it's all behind scenes
part.

btw can cast/load a typed dataset from a dataset?

let's say i have a abstract class which has a method that accepts a
dataset, since it's abstract it should be more abstract in the dataset
sense, on the concret class i wish load it into a types dataset.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top