Share via


RoleStore<TRole>.Context Property

Context for the store

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

Syntax

'Declaration
Public Property Context As DbContext 
    Get 
    Private Set
'Usage
Dim instance As RoleStore 
Dim value As DbContext 

value = instance.Context
public DbContext Context { get; private set; }
public:
property DbContext^ Context {
    DbContext^ get ();
    private: void set (DbContext^ value);
}
member Context : DbContext with get, private set
function get Context () : DbContext 
private function set Context (value : DbContext)

Property Value

Type: System.Data.Entity.DbContext

See Also

Reference

RoleStore<TRole> Class

Microsoft.AspNet.Identity.EntityFramework Namespace