Exemplo n.º 1
0
 public void UpdateAccountingDepreciationHistoryDB(AccountingAssetDepreciationHistoryDataSet aAccountingAssetDepreciationHistoryDataSet)
 {
     try
     {
         aAccountingAssetDepreciationHistoryTableAdapter = new AccountingAssetDepreciationHistoryDataSetTableAdapters.accountingassetdepreciationhistoryTableAdapter();
         aAccountingAssetDepreciationHistoryTableAdapter.Update(aAccountingAssetDepreciationHistoryDataSet.accountingassetdepreciationhistory);
     }
     catch (Exception Ex)
     {
         TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Asset Class // Update Accounting Asset Depreciation History DB " + Ex.Message);
     }
 }
Exemplo n.º 2
0
        public AccountingAssetDepreciationHistoryDataSet GetAccountingAssetDepreciationHistoryInfo()
        {
            try
            {
                aAccountingAssetDepreciationHistoryDataSet      = new AccountingAssetDepreciationHistoryDataSet();
                aAccountingAssetDepreciationHistoryTableAdapter = new AccountingAssetDepreciationHistoryDataSetTableAdapters.accountingassetdepreciationhistoryTableAdapter();
                aAccountingAssetDepreciationHistoryTableAdapter.Fill(aAccountingAssetDepreciationHistoryDataSet.accountingassetdepreciationhistory);
            }
            catch (Exception Ex)
            {
                TheEventLogClass.InsertEventLogEntry(DateTime.Now, "Asset Class // Get Accounting Asset Depreciation History Info " + Ex.Message);
            }

            return(aAccountingAssetDepreciationHistoryDataSet);
        }