Aug 19, 2014, 1:07 PM
Command ChangeRecord and StoreDataHandler
Hello!
I have a difficulty. have code that loops through all the fields of a form and inserts when there are changes.
I need it to enter the foreach with or without changes in the form. How to make?
I have a difficulty. have code that loops through all the fields of a form and inserts when there are changes.
I need it to enter the foreach with or without changes in the form. How to make?
ChangeRecords<Foul> Fouls = new StoreDataHandler(e.ExtraParams["Fouls"]).BatchObjectData<Fouls>();
foreach (var item in Fouls)
{
bll.Fouls.SaveFouls(item, modulo, (!HandsOn? cbDate.SelectedItem.Text.ToDate() : dtDate.SelectedDate), cbDiscipline.SelectedItem.Value.ToInt32(), (HandsOn? 1 : 0));
}