public AccountEntry(int AccountEntryID) { AccountEntry ac = (from a in GetAll() where a.ID == AccountEntryID select a).FirstOrDefault(); if (ac != null) { _data = ac._data; } else { throw new ApplicationException("No account entry with that ID exists - Use Create to create a new entry"); } }
protected AccountEntry(AccountEntryData data) { _data = data; }