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); } }
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); }