Error when using Xafari numerators

StatusIDPriorityType
Closed2464ОбычныйВопрос
ProfileReply
s_tristanClient

Hello!

I'm try to play with numerators, it seems that I have setup project correctly. But when I creating the object with a numerator property the exception occurs: NumeratorManager.Instance.PersistentProvider is null

Sample project is attached. May be I missed some references.

Thank you!

Attached files:

Replies

UserDescriptionPosted On
Anonymous

Hi,

You need to add the following code into overridden "Setup" method of your "TestXafariNumeratorsModule":

public override void Setup(XafApplication application)
{
base.Setup(application);
//...
NumeratorManager.Instance.PersistenceProvider = new XPNumeratorPersistenceProvider();
//...
}

So you initialize provider which will be used for the numerator's service.

You should also add references to Xafari.BC.Numerators.dll and Xafari.BC.Numerators.Xpo.dll.

 

 

s_tristanClient

I found the solution from your FeatureCenter demo

s_tristanClient

Thank you for your help

× This ticket is closed.