How can i check, if an (and which) application role is active for a connection (DbConnection object) to the sql server?
My problem is, that all database objects have access granted for my application role, but when executing a select statement i get an "access denied" error. I use a single connection object with application role activated, but I fear, that either EntityFramework or the DI container creates another DbConnection object due to a configuration fault.