Property : CSLA object

Property : CSLA object

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


JoOfMetL posted on Wednesday, September 20, 2006


I defined an object with a property with attributes isCslaClass= " true " and isCollection= " false ".   

I think that the templates do not take in charges this property for the properties of my object : IsValid, IsDirty, etc ...

Is this normal?

rasupit replied on Wednesday, September 20, 2006

JoOfMetL,
Normally you would not have editable child object on root object but you would have a collection object that hold editable child object(s).

Although your scenario is valid, it just uncommonly used. Therefore this scenario could not be defined when using data source other than xml.

Ricky

JoOfMetL replied on Thursday, September 21, 2006


Hello,    

However I suppose that from time to time that must arrive all the same, not?   

http://forums.lhotka.net/forums/thread/6584.aspx

If this scenario arrives, it is better to use a collection whit only one element? Because, I would not like to modify the code generated automatically if possible.

Thank you.



Copyright (c) Marimer LLC