public cFilter(wcl_db_adapter.cDBRow c_row, cFilterType c_filter_type, string s_field) { bool b_rc = true; try { this.m_s_filter = c_row.p_h_fields[s_field].ToString(); this.p_s_filter_type = c_filter_type.p_s_filter_type; this.m_c_filter_type = c_filter_type; this.p_b_filter_selected = false; } catch (Exception) { b_rc = false; System.Diagnostics.Debugger.Break(); } finally { } }
public cFilterType(wcl_db_adapter.cDBRow c_row) { bool b_rc = true; try { this.m_s_panel_field = c_row.p_h_fields[cConstants.m_s_field__filter__panel_field].ToString(); this.m_s_filter_id = c_row.p_h_fields[cConstants.m_s_field__filter__filter_id].ToString(); this.m_s_filter_desc = c_row.p_h_fields[cConstants.m_s_field__filter__filter_desc].ToString(); this.m_s_filter_type = c_row.p_h_fields[cConstants.m_s_field__filter__filter_type].ToString(); this.m_dt_timestamp = (DateTime)c_row.p_h_fields[cConstants.m_s_field__filter__timestamp]; } catch (Exception) { b_rc = false; System.Diagnostics.Debugger.Break(); } finally { } }