My application contains many implementations of one-to-one association based on your example at https://docs.devexpress.com/XPO/2055/examples/how-to-implement-one-to-one-relationships. However, I can not make the LinkNewObjectToParentImmediately=True work for this associations. It works fine for regular one-to-many associations.
Is there a trick to make it work for one-to-one?
Thanks a lot for your help.
As far as I understand, you want to initialize objects created by a lookup editor's New button. See how to do this in the following topic: How to: Initialize an Object Created Using the New Action.
If this does not help, describe your scenario in greater detail.