internal void Init_from_reader(DB_reader reader) { if (reader == null || reader.IsClosed) { return; } this.pk_ID = reader.GetInt("event_id"); this.dividend_index.Value = reader.GetInt("dividend_index"); this.security_id.Value = reader.GetInt("security_id"); this.record_date_adr.Value = reader.GetDateTime("record_date_adr"); this.pay_date_adr.Value = reader.GetDateTime("pay_date_adr"); this.record_date_ord.Value = reader.GetDateTime("record_date_ord"); this.pay_date_ord.Value = reader.GetDateTime("pay_date_ord"); this.deadline_at_source.Value = reader.GetDateTime("deadline_at_source"); this.deadline_quick_refund.Value = reader.GetDateTime("deadline_quick_refund"); this.deadline_long_form.Value = reader.GetDateTime("deadline_long_form"); this.depositary_info_id.Value = reader.GetInt("depositary_info_id"); this.market_statute_of_limitations.Value = reader.GetDateTime("market_statute_of_limitations"); this.enabled.Value = reader.GetBool("enabled"); this.notes.Value = reader.GetString("notes"); this.last_modified_by.Value = reader.GetString("last_modified_by"); this.last_modified_at.Value = reader.GetDateTime("last_modified_at"); this.is_active.Value = reader.GetBool("is_active"); this.dividend.Value = reader.GetString("dividend"); this.is_exception.Value = reader.GetBool("is_exception"); this.esp_model_id.Value = reader.GetInt("esp_model_id"); this.SyncWithDB(); }
internal void Init_from_reader(DB_reader reader) { if (reader == null || reader.IsClosed) { return; } this.pk_ID = reader.GetInt("depositary_info_id"); this.depositary_name.Value = reader.GetString("depositary_name"); this.depositary_address1.Value = reader.GetString("depositary_address1"); this.depositary_address2.Value = reader.GetString("depositary_address2"); this.phone.Value = reader.GetString("phone"); this.fax.Value = reader.GetString("fax"); this.international_phone.Value = reader.GetString("international_phone"); this.depositary_full_name.Value = reader.GetString("depositary_full_name"); this.depositary_index.Value = reader.GetInt("depositary_index"); this.active.Value = reader.GetBool("active"); this.stamp_name.Value = reader.GetString("stamp_name"); this.SyncWithDB(); }