Entity Framework Error: There is no implicit reference conversion from to System.IDisposable

sallmomar
 
on Jan 08, 2020 11:11 PM
3831 Views

CS1503 C# Argument 1: cannot convert from to 'System.Data.Entity.DbContext'

var manager = new ApplicationUserManager(new UserStore<ApplicationUser>(context.Get<ApplicationDbContext>()));

CS0311 C# The type cannot be used as type parameter 'T' in the generic type or method. There is no implicit reference conversion from to 'System.IDisposable'.

app.CreatePerOwinContext(ApplicationDbContext.Create);

 

Download FREE API for Word, Excel and PDF in ASP.Net: Download