Quantcast
Channel: User David Silva-Barrera - Stack Overflow
Viewing all articles
Browse latest Browse all 37

Comment by David Silva-Barrera on Best way to store multiple enums in database

$
0
0
I don't see it as Magic Number, you are storing the unique int identifier of the enum value in the database, if this is wrong then so is storing the primary key of a table in another table as foreign key. If you don't have the source code or at least the documentation, why are you administrating that database in the first place? The referred article does not talk about databases at all, but magic number in the source code where it's a problem even having the source code.

Viewing all articles
Browse latest Browse all 37

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>