Typed dataset for populating 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)
精彩评论