Using bit flags is a great way to store a lot of information in a single place that can be used in a variety of ways, of which the most common I've seen is to use big flagging for permission checks. I could write the following post myself, but I don't think I could add much to the following excellently done reply to a question on StackOverflow about using bit flags in SQL, so here you go-
[Link]
Also if you are a little rusty on using bit flags in .Net, here is a refresher article link-
[Link]
No comments:
Post a Comment