IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Constructor (String)

Initializes a new instance of the IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> class using the specified connection string.

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

Syntax

'Declaration
Public Sub New ( _
    nameOrConnectionString As String _
)
'Usage
Dim nameOrConnectionString As String 

Dim instance As New IdentityDbContext(nameOrConnectionString)
public IdentityDbContext(
    string nameOrConnectionString
)
public:
IdentityDbContext(
    String^ nameOrConnectionString
)
new : 
        nameOrConnectionString:string -> IdentityDbContext
public function IdentityDbContext(
    nameOrConnectionString : String
)

Parameters

  • nameOrConnectionString
    Type: System.String
    The connection string.

See Also

Reference

IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class

IdentityDbContext<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Overload

Microsoft.AspNet.Identity.EntityFramework Namespace

Other Resources

ASP.NET Identity