> public partial class MedicalReviewMaint : mmBusinessForm > { > private MedicalReview oMedicalReview; > private Client oClient; > private Patient oPatient; > > /// <summary> > /// Constructor > /// </summary> > public MedicalReviewMaint() > { > oMedicalReview = (MedicalReview)this.RegisterPrimaryBizObj(new MedicalReview()); > oClient = (Client)this.RegisterBizObj(new Client()); > oPatient = (Patient)this.RegisterBizObj(new Patient()); > > InitializeComponent(); >. . . > > } > > private void btnLocateRecord_Click(object sender, EventArgs e) > { > //Get medical review records meeting selected criteria > this.oMedicalReview.GetMedReviewsBySearchCriteria(this.cboLocClient.SelectedValue.ToString(), > this.txtLocClientPatientId.Text, > this.txtLocLastName.Text, > this.txtLocFirstName.Text, > this.txtBegDate.Text, > this.txtEndDate.Text, > this.cboLocReviewBy.SelectedValue.ToString()); > >>
>[Code to build command string and parameter array. MRSqlCmd is a StringBuilder, ParamList is a parameter array] > > > this.GetDataSet(MRSqlCmd.ToString(), CommandType.Text, ParamList); > return this.Entity; > >