Mohsen
Mohsen

Reputation: 4266

Stimul report automation : business object and navigation properties

Imagine I we have the Person class which have a navigation property named Skills and I want to access Skills of each person in the report.

But the code

report.RegBusinessObject("Persons", ctx.PersonCollection)

just registers value typed properties of each Person in the report and I have to iterate each Person to get its related Skills and register its Skills separately.

Any suggestions?

Upvotes: 0

Views: 772

Answers (1)

HighAley
HighAley

Reputation: 1329

Try to call report.Dictionary.SynchronizeBusinessObjects(2) after registering BO.

Upvotes: 2

Related Questions