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?
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