IdentityDbContext Class

Default db context that uses the default entity types

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

public class IdentityDbContext : IdentityDbContext<IdentityUser>

The IdentityDbContext type exposes the following members.

  NameDescription
Public methodIdentityDbContext()Default constructor which uses the DefaultConnection
Public methodIdentityDbContext(String)Constructor which takes the connection string to use
Top

  NameDescription
Public propertyChangeTracker (Inherited from DbContext.)
Public propertyConfiguration (Inherited from DbContext.)
Public propertyDatabase (Inherited from DbContext.)
Public propertyRoles (Inherited from IdentityDbContext<TUser>.)
Public propertyUsers (Inherited from IdentityDbContext<TUser>.)
Top

  NameDescription
Public methodDispose() (Inherited from DbContext.)
Protected methodDispose(Boolean) (Inherited from DbContext.)
Public methodEntry(Object) (Inherited from DbContext.)
Public methodEntry<TEntity>(TEntity) (Inherited from DbContext.)
Public methodEquals (Inherited from DbContext.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from DbContext.)
Public methodGetType (Inherited from DbContext.)
Public methodGetValidationErrors (Inherited from DbContext.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnModelCreating (Inherited from IdentityDbContext<TUser>.)
Public methodSaveChanges (Inherited from DbContext.)
Public methodSaveChangesAsync() (Inherited from DbContext.)
Public methodSaveChangesAsync(CancellationToken) (Inherited from DbContext.)
Public methodSet(Type) (Inherited from DbContext.)
Public methodSet<TEntity>() (Inherited from DbContext.)
Protected methodShouldValidateEntity (Inherited from DbContext.)
Public methodToString (Inherited from DbContext.)
Protected methodValidateEntity (Inherited from IdentityDbContext<TUser>.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: