I am using Entity Framework 6 Code First. I created a separate table to contain the UserId from the aspnet\_Users table and a field for Department. So the user listed with the departments have only access to those departments. 

Since all of my table are generated via code first and is using the db.context. The membership and roles are pre-generated table from MVC. How to I get a list of UserId from the aspnet\_Users table when it's not in the db.context? The aspnet tables are pre-generated via a script in the entity framework.

How do I query tables in MVC outside of my db.context?