Exemplo n.º 1
0
 internal ADMSPDecisionBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSPDecision)
 {
     myA = pBEMng;
     myADMSPDecisionDT = (SST.ADMSPDecisionDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetADMSPDecision();
 }
Exemplo n.º 2
0
        public SST.ADMSPDecisionDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            SST.ADMSPDecisionDataTable dt = new SST.ADMSPDecisionDataTable();
            Fill(dt);
            return(dt);
        }
Exemplo n.º 3
0
        public SST.ADMSPDecisionDataTable LoadByFileNumber(string SSTFileNumber)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[ADMSPDecisionSelectBySSTFileNumber]";
            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("@SSTFileNumber", System.Data.SqlDbType.NVarChar, 12));

            this.sqlSelect.Parameters["@SSTFileNumber"].Value = SSTFileNumber;

            SST.ADMSPDecisionDataTable dt = new SST.ADMSPDecisionDataTable();
            Fill(dt);
            return(dt);
        }
Exemplo n.º 4
0
        public SST.ADMSPDecisionDataTable Load(int Id)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[ADMSPDecisionSelectById]";
            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("@Id", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));

            this.sqlSelect.Parameters["@Id"].Value = Id;

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