Share via


IdentityDbContext<TUser> Constructor (String)

Constructor which takes the connection string to use

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

See Also

Reference

IdentityDbContext<TUser> Class

IdentityDbContext<TUser> Overload

Microsoft.AspNet.Identity.EntityFramework Namespace