can't register domain components

StatusIDPriorityType
Closed39548MajorQuestion
ProfileReply
nakuya lilianClient

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

Attached files:

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello!

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.

Regards,
Mariya
On behalf of Xafari Client Services Team

× This ticket is closed.

Write US