Hi everybody,
we have a web project that uses the business layer (BL) to generate all entity related methods such as create, delete, update and get.
In some cases we do create dataviews collecting fields from several related entities just like the HnD project itself does.
One of my colleague insists on returning datatables instead of dataviews.
To my knowledge there isnt much difference between the two, dataviews are sortable, supports filter etc, and you may add columns to datatables and create several dataviews from the same data table...And datatables are serilizable where dataviews are not.
The question is: what do you think? does using datatable have any advantages or disadvantages? Since the BL produces the datatable or the dataview and gui uses it, does exposing datatable to the gui that resides on a remote server has any kind of security risk over dataview?
Or anything else you would wanna add?
thanks
-shane