Hello,
I have problem with adding my business objects as source to my report. if I add my object all your public property are called by report. It is problem because my business object has set lazy loading from database to related objects.
In call stack is visible:
Stimulsoft.Report.dll!Stimulsoft.Report.Dictionary.StiEnumerableToDataSet.FillOneItem(System.Data.DataTable table = {TKvalifikace}, object obj = {Trexima.Nsk.BusinessObjects.TUplnaKvalifikace}, string tableName = "TKvalifikace", string nameID = null, object valueID = null, string uniqueIndex = "_ID") + 0x12d bytes
Stimulsoft.Report.dll!Stimulsoft.Report.Dictionary.StiEnumerableToDataSet.FillDataTable(System.Data.DataTable table, string tableName = "TKvalifikace", object obj, string nameID, object valueID) + 0x26b bytes
Stimulsoft.Report.dll!Stimulsoft.Report.Dictionary.StiEnumerableToDataSet.ConvertEnumerableToDataTable(string tableName, object obj, ref string nameID, object valueID) + 0x90 bytes
Stimulsoft.Report.dll!Stimulsoft.Report.Dictionary.StiEnumerableToDataSet.ConvertEnumerableToDataSet(string name, object obj) + 0xa1 bytes
> Stimulsoft.Report.dll!Stimulsoft.Report.Dictionary.StiDataCollection.RegData(string name, object data = Count = 1) + 0x5c bytes
It is posible control this converting process (object -> dataset)?
Thanks Pavel
Working with business objects
Working with business objects
You can use interfaces ICustomTypeDescriptor or ITypedList to set needed collection of properties.
If you have any ideas you can describe it.
Thank you.
If you have any ideas you can describe it.
Thank you.