BusinessBase Delete

BusinessBase Delete

Old forum URL: forums.lhotka.net/forums/t/7314.aspx


Slayer posted on Wednesday, July 22, 2009

Hi

I have a question pertaining the public Delete() method on the BusinessBase class.

Some of my business objects cannot be deleted. So this method must throw an exception whenever the UI developer invokes it. Am I missing something here? How can I enforce this?

RockfordLhotka replied on Wednesday, July 22, 2009

The Delete() method is virtual, so you can override it to add extra conditions.

Copyright (c) Marimer LLC