can't register domain components

Profile Reply
nakuya lilian Client

consider the sample provided.the utility module is provided by devexpress

Attached files:


User Description Posted On
MariyaVoytovich Agent


There is code in the Common.Win project module that adds an XpandXpoTypeInfoSource for TypesInfo.

if (InterfaceBuilder.RuntimeMode)
    ((TypesInfo)XafTypesInfo.Instance).AddEntityStore(new XpandXpoTypeInfoSource((TypesInfo)XafTypesInfo.Instance));

This causes an error.
I found the following articles on the devexpress website.
Domain Components+ Calculated properties + Application Model
Dynamic member aliases from Application Model
Based on this, I concluded: this class is added in order to add a Calculated properties for the domain component.
If you are not going to use Calculated properties in your application, you can remove the addition of XpandXpoTypeInfoSource.
Otherwise, we will need more time to solve this error.

Feel free to contact us if you have any questions.

On behalf of Xafari Client Services Team

× This ticket is closed.

Write US