Exemple #1
0
 internal ADMSEParticipantBE(SSTManager pBEMng) : base(pBEMng, pBEMng.DB.ADMSEParticipant)
 {
     myA = pBEMng;
     myADMSEParticipantDT = (SST.ADMSEParticipantDataTable)myDT;
     //if (myODAL == null)
     //    myODAL = myA.AtMng.DALMngr.GetADMSEParticipant();
 }
Exemple #2
0
        public SST.ADMSEParticipantDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            SST.ADMSEParticipantDataTable dt = new SST.ADMSEParticipantDataTable();
            Fill(dt);
            return(dt);
        }
Exemple #3
0
        public SST.ADMSEParticipantDataTable LoadByFileNumber(string SSTFileNumber)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[ADMSEParticipantSelectBySSTFileNumber]";
            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.ADMSEParticipantDataTable dt = new SST.ADMSEParticipantDataTable();
            Fill(dt);
            return(dt);
        }
Exemple #4
0
        public SST.ADMSEParticipantDataTable Load(int Id)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[ADMSEParticipantSelectById]";
            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.ADMSEParticipantDataTable dt = new SST.ADMSEParticipantDataTable();
            Fill(dt);
            return(dt);
        }