Hello,
My class has an enum property, but when viewing the report an error occurs.
"The type or namespace name 'MvcDesigner_VS2012' could not be found (are you missing a using directive or an assembly reference?)"
Can I have my enum properties?
Attached the project simulating the error, if the last line of comment HomeController.cs file to give error.
public TestTaniaEnum TestEnum {get; Set;}
Another question, when working using:
report.RegData ("test", list);
report.Dictionary.Synchronize ();
or
report.RegBusinessObject ("Test", list);
report.Dictionary.SynchronizeBusinessObjects (3);
Do not use datatable, dataset, xml, reports, only DTOs that are used to carry my "business objects".
But I saw that report.RegData ("test", list); works correctly. How best to use? when using Regdata () and when using the RegBusinessObject ().
Thank you in advance,
Tania
Error Enum
Error Enum
- Attachments
-
- MvcDesigner VS2012.rar
- Project with the simulation error
- (13.59 MiB) Downloaded 191 times
Re: Error Enum
Hello.
While there are data from Business Object in your report template, you should add the MvcDesigner VS2012.dll assembly to the Referenced Assemblies property of the report.
The RegData() method converts the business objects to Data Tables with relations. It's better to use RegBusinessObject method.
Thank you.
While there are data from Business Object in your report template, you should add the MvcDesigner VS2012.dll assembly to the Referenced Assemblies property of the report.
The RegData() method converts the business objects to Data Tables with relations. It's better to use RegBusinessObject method.
Thank you.
Re: Error Enum
Thank you, Aleksey. Now is working!
Re: Error Enum
Hello,
We are always glad to help you!
We are always glad to help you!