Datasets as the DAL?
i wondering if using datasets/adapters/datatables way manage data access layer, or if should keeping using generic database library 1 of friend wrote.
thanks,
john
well, since don't know "generic database library" friend wrote - can't comment it
there 2 major schools of thoughts when comes business logic.
there favor domain driven desing (see http://domaindrivendesign.org/book/) , favor data centric approach .
datasets fit second approach better (though there can useful in reporting scenarios when using ddd), ddd 1 use object relational mapper (such nhibernate, npersist, wilson o/r etc. )
arnon
Architecture > Architecture General
Comments
Post a Comment