Language

RoleStore<TRole, TKey, TUserRole>.Context Property

 

Gets the context for the store.

Namespace:   Microsoft.AspNet.Identity.EntityFramework Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

public DbContext Context { get; private set; }
public:
property DbContext^ Context {
    DbContext^ get();
    private: void set(DbContext^ value);
}
member Context : DbContext with get, private set
Public Property Context As DbContext
    Get
    Private Set
End Property

Property Value

Type: System.Data.Entity.DbContext

The context for the store.

See Also

RoleStore<TRole, TKey, TUserRole> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.

Return to top