Association attribute collection


I have a relation one-to-one with an attribute. If I generate from Entity view the Editor screen, CollectionDc related to the this attribute is not generated (even it’s checked in view). I have to put it mannualy.
If I check Lookup actions (lookup) the related collectionDc is generated.

This is a normal behaviour? If I put it mannualy is ok (because I need to use this collection)?

Best Regards,


Yes, it is a normal behavior. The @Lookup annotation is mostly used for screens scaffolding. You should specify lookup type, if you want Studio to generate related data container for you. I you add it manually, it is ok too.