No Execute method?

No Execute method?

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


ajj3085 posted on Monday, January 22, 2007

Hi,

I was creating a subclass of CommandBase today, and I went to use it and realized it doesn't define a default Execute method.  I thought it did, just like BusinessBase has a default Save method.

Was I imagining things? What's the reason Execute is defined already?

Andy

skagen00 replied on Monday, January 22, 2007

I don't think it ever did.

I think in this case, there really isn't implementation that is necessarily inheritable (like Save()) and one might execute a command with various parameters & perhaps overloads (I know I do!).

(I assume you meant "What's the reason Execute is not defined already?")

 

Copyright (c) Marimer LLC