C
Cralis
In an attempt to sparate my database, business logic and GUI, I am
trying to have only my Data Object having database goodies. So, for
example, my GUI app wants to get a list of users to put ito a combo
box. It makes a call, 'GetListOfUsers'. The Business layer has a
function that would return a <List>. It calls the data object which
does the SQL. This would maybe call 'GetUserList'. The data object at
the moment, returns a DataView, Tht's bad, because my Business Layer
then needs to iclude System.Data...
How can I rather return the data from the Data Object, without using
some fr of data class??
trying to have only my Data Object having database goodies. So, for
example, my GUI app wants to get a list of users to put ito a combo
box. It makes a call, 'GetListOfUsers'. The Business layer has a
function that would return a <List>. It calls the data object which
does the SQL. This would maybe call 'GetUserList'. The data object at
the moment, returns a DataView, Tht's bad, because my Business Layer
then needs to iclude System.Data...
How can I rather return the data from the Data Object, without using
some fr of data class??