Robocide
Robocide

Reputation: 6751

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).

Populating 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 ?

Upvotes: 1

Views: 563

Answers (1)

Mark Redman
Mark Redman

Reputation: 24515

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)

Upvotes: 1

Related Questions