Hi there,
If you want to store multiple enum values inside one property i would recommend using the
[Flags]
attribute for your custom enum.
With enum flags you can store multiple values inside a normal enum property. You can also check if multiple values are store inside that property, so you would not need an array of enum property.Here is a deep dive into enum flags in c#: https://code-maze.com/csharp-flags-attribute-for-enum/
Please let me know if that helps.
Interesting, thx. Would we need to manually modify and typescript/Angular codes for this or would any of the code gen get this correctly?
Is it possible with the suite to create a property that is an array of a custom enum? if so how? what are the best workarounds/options/recommendations if we want a property to have an array of an enum? In the suite, I only see we can choose "enum" and we put in a file path to the enum CS file.
(BTW, I also ran into this other problem in the following link but perhaps redoing and cleaning the solution fixed it. https://support.abp.io/QA/Questions/5106/Abp-Suite-Domain-Service-Generation-Errors)
if we have TableA and TableB, and create n-to-n relation/navigation on both ends, it creates TableATableB TableBTableA
it should be a single table. otherwise we have 2 separate tables, both with TableAId, TableBId columns.
Ideally it should be the same table, and the UI on both would be updated to point to that same table/entity/dto? Best options? Other threads/posts/articles about this? thx
If we have n to n for Categories and Tags, we add Tags as n to n navigation for Categories? it will generate a tab to add Tags?
What about the UI for Tags? does it not also have a tab to add Categories?
If we add n to n navigation of Categories to Tags, it will create an additional and separate table? Solutions?