コード例 #1
0
        public void Save()
        {
            // save alert row changes.
            DAL.Transactions trans = new DAL.Transactions();

            trans.Save(ref _id, _accountId, _description, _amount, _timestamp);
        }
コード例 #2
0
        public static TransactionCollection GetByAccount(int accountId)
        {
            TransactionCollection obj = new TransactionCollection();
            DataSet ds = new DAL.Transactions().GetByAccountId(accountId);

            obj.MapObjects(ds);
            return(obj);
        }
コード例 #3
0
        public static TransactionCollection GetByDate(DateTime from, DateTime to)
        {
            TransactionCollection obj = new TransactionCollection();
            DataSet ds = new DAL.Transactions().GetByDate(from, to);

            obj.MapObjects(ds);
            return(obj);
        }