I am kinda new to CSLA, so...the following can as well be put into the "Silly/Stupid" question category.
How do I define an interface using csla ?
Using a base class would solve the problem, but I wanted to see how I can declare and inherit from an interface while using clsa?
Thanks in advance,
Sashidhar Kokku
Hi,
A response to a quite old question, however this was the only post I could find.
Inheriting from the core interface was not really the issue, however it results in some methods that might not want to be exposed:
Any thoughts on what is the best way to handle this?
Best regards,
Peter
Hi,
Other than to look for maybe another interface higher in the hierarchy then no.
You _can_ implement the methods explicitly so that they are only available when you use the interface (cast) but once it is defined in the interface the methods/properties have to be implemented and available.
Copyright (c) Marimer LLC