public void Invoke() { ContactInformationSelectData contactData = new ContactInformationSelectData(); contactData.ContactInformation = this.ContactInformation; ResultSet = contactData.Get(); ContactInformation.ContactInformationId = int.Parse( ResultSet.Tables[0].Rows[0]["ContactInformationId"].ToString() ); ContactInformation.Phone = ResultSet.Tables[0].Rows[0]["Phone"].ToString(); ContactInformation.Phone2 = ResultSet.Tables[0].Rows[0]["Phone2"].ToString(); ContactInformation.Fax = ResultSet.Tables[0].Rows[0]["Fax"].ToString(); ContactInformation.Email = ResultSet.Tables[0].Rows[0]["Email"].ToString(); }
public void Invoke() { ContactInformationSelectData contactdata = new ContactInformationSelectData(); contactdata.ContactInformation = this.ContactInformation; ResultSet = contactdata.Get(); ContactInformation.ContactInformationID = int.Parse(ResultSet.Tables[0].Rows[0]["ContactInformationID"].ToString()); ContactInformation.Phone = ResultSet.Tables[0].Rows[0]["Phone"].ToString(); ContactInformation.Phone2 = ResultSet.Tables[0].Rows[0]["Phone2"].ToString(); ContactInformation.Fax = ResultSet.Tables[0].Rows[0]["Fax"].ToString(); ContactInformation.Email = ResultSet.Tables[0].Rows[0]["Email"].ToString(); }
public bool Invoke() { bool complete = false; ContactInformationSelectData contactdata = new ContactInformationSelectData(); contactdata.ContactInformation = this.ContactInformation; ResultSet = contactdata.Get(); ContactInformation.ContactInformationID = int.Parse(ResultSet.Tables[0].Rows[0]["ContactInformationID"].ToString()); ContactInformation.Phone = ResultSet.Tables[0].Rows[0]["Phone"].ToString(); ContactInformation.Phone2 = ResultSet.Tables[0].Rows[0]["Phone2"].ToString(); ContactInformation.Fax = ResultSet.Tables[0].Rows[0]["Fax"].ToString(); ContactInformation.Email = ResultSet.Tables[0].Rows[0]["Email"].ToString(); complete = true; return(complete); }