private void LoadFlow(Form_able abstract_Iter_able, List <object> value, List <string> index) { IQuery_able facade = abstract_Iter_able.facade.getFacade(); current_Viewable = new CNTR_Viewable(); List <string> key_List = abstract_Iter_able.list_Column_Headers; List_able list_Able = new List_able(); List <Abstract_Iter_able> object_List = facade.GetByIdWhere(value, index); string iterable_Title = abstract_Iter_able.GetType().ToString(); list_Able.setListableState(iterable_Title, object_List); current_Viewable.setViewState(list_Able, iterable_Title, key_List); string key_String = ""; int j = 0; foreach (string key in key_List) { key_String += "Key" + j + "= " + key + " | "; j++; } }
private void LoadForm(Abstract_Iter_able abstract_Iter_able, List <object> value, List <string> index, Form_able form) { IQuery_able facade = abstract_Iter_able.getFacade(); current_Viewable = new CNTR_Viewable(); List <string> key_List = abstract_Iter_able.getListOfKeys(); List <Guid> aggregate_Indexes; List_able list_Able = new List_able(); if (form == null) { aggregate_Indexes = new List <Guid> { }; } else { aggregate_Indexes = form.list_View_Items; } List <Abstract_Iter_able> object_List; object_List = facade.GetAll(); string iterable_Title = abstract_Iter_able.GetType().ToString(); list_Able.setListableState(iterable_Title, object_List.Cast <Abstract_Iter_able>().ToList()); current_Viewable.setViewState(list_Able, iterable_Title, key_List); string key_String = ""; int j = 0; foreach (string key in key_List) { key_String += "Key" + j + "= " + key + " | "; j++; } }