0
Reply

Perfomance Issue

Herry Ng

Herry Ng

Dec 1 2012 3:29 AM
1.1k
I'm developing an application using Entity Framework but instead declare each entity to save in each form I'm using dynamic variable in form class, is there a perfomance issue, coding like this and is there a better solution ?


dynamic current= bs_active.Current;
try {current.USERID = GlobalVariable.cUserLogin;}catch(Exception){}
try {current.DateCR = DateTime.Now;}catch(Exception){}


bs_active is binding souce with the datasource is objectentity each table/entity have fields USERID and DateCR

any help/comment please ?


Thx
Sen