diff --git a/src/Microsoft.AspNet.Identity.EntityFramework/IdentityDbContext.cs b/src/Microsoft.AspNet.Identity.EntityFramework/IdentityDbContext.cs index 7c20a37d02..9367af64b5 100644 --- a/src/Microsoft.AspNet.Identity.EntityFramework/IdentityDbContext.cs +++ b/src/Microsoft.AspNet.Identity.EntityFramework/IdentityDbContext.cs @@ -3,6 +3,7 @@ using System; using Microsoft.Data.Entity; +using Microsoft.Data.Entity.Infrastructure; using Microsoft.Data.Entity.Metadata; namespace Microsoft.AspNet.Identity.EntityFramework @@ -17,6 +18,26 @@ namespace Microsoft.AspNet.Identity.EntityFramework where TRole : IdentityRole where TKey : IEquatable { + public IdentityDbContext(DbContextOptions options) : base(options) + { + + } + + public IdentityDbContext(IServiceProvider serviceProvider) : base(serviceProvider) + { + + } + + public IdentityDbContext(IServiceProvider serviceProvider, DbContextOptions options) : base(serviceProvider, options) + { + + } + + protected IdentityDbContext() + { + + } + public DbSet Users { get; set; } public DbSet> UserClaims { get; set; } public DbSet> UserLogins { get; set; }