View Single Post
  #8 (permalink)  
Old May 14th, 2009, 03:37 AM
luckystar luckystar is offline
Authorized User
Join Date: Apr 2009
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts


Yes I know, please read my question carefully I did the same with the business classes EO objects then when I got the BaseEditPage which uses ENTBaseEO I get stuck; my ENTBaseEO is also a generic type ENBaseEO(Of DC as DataContext..) as it uses DC for
save update etc.. The reason I get stuck is I am reluctant to specify a datacontext in the BaseEditPage class for several reasons 1- the UI should not talk to the DAL, 2- the BaseEditPage class is used by many inheriting pages and cannot be datacontext specific.

And also in your response above Using db as new DC(connectionString) does not seem to accept the connection string parameter.


Last edited by luckystar; May 14th, 2009 at 03:59 AM.. Reason: clarification