Home All Groups Group Topic Archive Search About

is it considered good practice to extend dataset?

Author
23 Mar 2006 11:25 AM
Elhanan
hi..

i'm considerong to use typed datasets, and then extend it using partial
class, but in the row/coloumn changing events i'll throw excecptions
and not set dataErrors, becouse the entire application works behind the
scenes, is that a good thing?

also i would like to add my own custom method for inserting rows,
becouse i've noticed in my applicaiton i have 2 places where esstianly
i insert a row with the same paramters (only the insertion occurs under
different condtions).

is that considered code duplication?

you see i have a master detail tables,  in once case when the master
record is added, a detail line is added as well,

how ever there are times when this detail line is added on later, but
it's the same type of detail line

AddThis Social Bookmark Button