ABP Commercial 5.2.0 stable, ABP Suite 5.2.0 stable EF SQL New MVC project
When I create a Many to Many relation using ABP Suite, if I set a property called "Name", it is working correctly. If I do not, then build fails with the following: D:\Sources\TestingMTM\aspnet-core\src\TestingMTM.Web\Pages\Bookfails\EditModal.cshtml(55,115,55,119): error CS1061: 'CategoryfailDto' does not contain a definition for 'Name' and no accessible extension method 'Name' accepting a first argument of type 'CategoryfailDto' could be found (are you missing a using directive or an assembly reference?)
Is a "Name" property mandatory?
Thanks
3 Answer(s)
-
0
Hi @Mikael,
Is a "Name" property mandatory?
No, it shouldn't be. Probably there is a bug, so i refund your question credit and we will fix it in next release.
For now, you can just replace the
Name
with the real display property name manually inEditModal.cshtml
file and it will be OK. -
0
Thank you
-
0
Hi @Mikael, I close the question since we've created an internal issue for this problem and will take the necessary action for it. Thanks for reporting the problem.
Best regards.