Recently, I accidentally moved from the world of a data set to a common world. I am a little confused in some models.
In my model, I had three types of models like Product {Productid, ProductName}, ProductType {ProductTypeId, ProductTypeName}, ProductCategory {ProductCategoryId, ProductCategorName}
My stored procedure returns {ProductName, ProdcutTypeName, ProductCategoryName}
I used to use Dataset :). But I am worried that how to keep these combinations in the list. Can't I take a list or whatever? Do I need to create a separate class for this?
Can someone suggest me how to deal with these situations?
source share