linq2db / LinqToDB.Identity

ASP.NET Core Identity provider that uses LinqToDB.
https://linq2db.github.io/
MIT License
46 stars 9 forks source link

Rewrite stores #6

Closed ili closed 7 years ago

ili commented 7 years ago

All stores methods needs to be rewritten like:

public int SomeMethod(...)
{
    using(var db = _factory.GetConnection())
         return SomeMethod(db, ....);
}

protected virtual int SomeMethod(DataConnection db, ...)
{
...
}