Ejemplo n.º 1
0
        ICollection IManager.GetByParentKey(int key)
        {
            ArrayList accounts = new ArrayList();

            DataSet ds = AccountServer.GetByCustomerID(key);

            foreach (DataRow row in ds.Tables["tblAccount"].Rows)
            {
                accounts.Add(new AccountBase(row));
            }

            return(accounts);
        }