コード例 #1
0
        public CLAS.AccountHistoryDataTable Load()
        {
            this.sqlDa.SelectCommand = sqlSelectAll;

            CLAS.AccountHistoryDataTable dt = new CLAS.AccountHistoryDataTable();
            Fill(dt);
            return(dt);
        }
コード例 #2
0
        public CLAS.AccountHistoryDataTable LoadByFileHistoryId(int FileHistoryId)
        {
            this.sqlDa.SelectCommand = sqlSelect;
            this.sqlSelect.Parameters.Clear();
            this.sqlSelect.CommandText = "[AccountHistorySelectByFileHistoryId]";
            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("@FileHistoryId", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
            this.sqlSelect.Parameters["@FileHistoryId"].Value = FileHistoryId;

            CLAS.AccountHistoryDataTable dt = new CLAS.AccountHistoryDataTable();
            Fill(dt);
            return(dt);
        }
コード例 #3
0
 internal AccountHistoryBE(CLASManager pBEMng) : base(pBEMng, pBEMng.DB.AccountHistory)
 {
     myA = pBEMng;
     myAccountHistoryDT = (CLAS.AccountHistoryDataTable)myDT;
 }