Skip to content
Discussion options

You must be logged in to vote

Hello @yousefak007,

Apologies for the confusion earlier. I initially misunderstood your question, thinking it was related to my other open-source project, Gridify 🫠. Please disregard my previous response. (I deleted it)

Regarding the database side, using HasFlag directly is not feasible because your database doesn't inherently support custom enum functionality. You can, however, retrieve the relevant data into memory and then check permissions there.

If you're working with a SQL Server database, you might consider creating a custom function in C# and incorporating it into your database. Keep in mind that this approach could potentially impact query performance.

A bit of context: InfiniteE…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@YousefAK009
Comment options

@alirezanet
Comment options

Answer selected by YousefAK009
@alirezanet
Comment options

@YousefAK009
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants