In order to add new threads or reply to existing posts, you have to be logged-in. If you are not registered yet, you need to register first, and then login with your personal credentials.
Hi
I want to subclass the business objects created by CslaFactory. However when I declare a new class as a subclass of a class generated by CslaFactory I get the compiler error message:
Class.Class() is inaccessible due to its protection level
This happens because the constructor is marked as "private". This problem can be solved by changing the protection level to "protected" instead.
I realize that I can change the templates myself but I would be easier if this was standard by CslaFactory.
I don't think that this change should cause any problems.
Hi Peter,
this is a good idea. I will change the templates, so the constructors will be "protected" by default.
Regards,
Marcel