0 down vote favorite
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 ?
bs_active is binding souce with the datasource is objectentity each table/entity have fields USERID_CR dan DT_CR
any help/comment please ?
thanks
Sen
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 ocurr = bs_active.Current; try {ocurr.USERID_CR = GlobalAppVariable.cUserLogin;}catch(Exception){} try {ocurr.DT_CR = DateTime.Now;}catch(Exception){}
bs_active is binding souce with the datasource is objectentity each table/entity have fields USERID_CR dan DT_CR
any help/comment please ?
thanks
Sen