开发者

Typed dataset for populating custom objects ?

开发者 https://www.devze.com 2022-12-15 11:10 出处:网络
I\'m about to develop database server app; I have decided not to use typed dataset/dataset, except in the DAL, (so I\'m not asking the question whether to use dataset or custom objects).

I'm about to develop database server app; I have decided not to use typed dataset/dataset, except in the DAL, (so I'm not asking the question whether to use dataset or custom objects).

Popul开发者_Go百科ating my custom objects with data requires an interaction with DataSet in the DAL.

I have seen a reasonable way of using typed dataset for this purpose. Is typed dataset is the right choice in this scenario ?


No you dont need types datasets if you are populating your own objects, just use a basic reader to get the data (implementing any checks for nulls etc as your architecture requires)

0

精彩评论

暂无评论...
验证码 换一张
取 消