Exemple #1
0
        public atriumDB.ArchiveBatchDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            atriumDB.ArchiveBatchDataTable dt = new atriumDB.ArchiveBatchDataTable();
            Fill(dt);
            return(dt);
        }
Exemple #2
0
 internal ArchiveBatchBE(FileManager pBEMng) : base(pBEMng, pBEMng.DB.ArchiveBatch)
 {
     myA = pBEMng;
     myArchiveBatchDT = (atriumDB.ArchiveBatchDataTable)myDT;
     if (!myA.AtMng.AppMan.UseService && myODAL == null)
     {
         myODAL = myA.AtMng.DALMngr.GetArchiveBatch();
     }
 }
Exemple #3
0
        public atriumDB.ArchiveBatchDataTable Load(int ArchiveId)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[ArchiveBatchSelectByArchiveId]";
            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("@ArchiveId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));

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

            atriumDB.ArchiveBatchDataTable dt = new atriumDB.ArchiveBatchDataTable();
            Fill(dt);
            return(dt);
        }