зеркало из https://github.com/aspnet/samples.git
Initialize the instance in the default constructor
Actually initialize all class members from the default constructor instead of creating a throw-away instance.
This commit is contained in:
Родитель
ae4ae5d560
Коммит
c2b8406b69
|
@ -28,9 +28,8 @@ namespace AspNet.Identity.MySQL
|
|||
/// instance using the Default Connection string
|
||||
/// </summary>
|
||||
public RoleStore()
|
||||
{
|
||||
new RoleStore<TRole>(new MySQLDatabase());
|
||||
}
|
||||
: this(new MySQLDatabase())
|
||||
{ }
|
||||
|
||||
/// <summary>
|
||||
/// Constructor that takes a MySQLDatabase as argument
|
||||
|
|
Загрузка…
Ссылка в новой задаче