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
- nameOrConnectionString
Type: System.String
See Also
Reference
IdentityDbContext<TUser> Class