Exemple #1
0
 internal FormHearingBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.FormHearing)
 {
     myA             = pBEMng;
     myFormHearingDT = (SST.FormHearingDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetFormHearing();
 }
Exemple #2
0
        public SST.FormHearingDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            SST.FormHearingDataTable dt = new SST.FormHearingDataTable();
            Fill(dt);
            return(dt);
        }
Exemple #3
0
        public SST.FormHearingDataTable LoadBySSTCaseId(int SSTCaseId)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[FormHearingSelectBySSTCaseId]";
            this.sqlSelect.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters.Add(new System.Data.SqlClient.SqlParameter("@SSTCaseId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters["@SSTCaseId"].Value = SSTCaseId;

            SST.FormHearingDataTable dt = new SST.FormHearingDataTable();
            Fill(dt);
            return(dt);
        }