31 references to AddEntityFrameworkStores
Identity.DefaultUI.WebSite (1)
StartupBase.cs (1)
44.AddEntityFrameworkStores<TContext>();
Identity.ExternalClaims (1)
Startup.cs (1)
40.AddEntityFrameworkStores<ApplicationDbContext>()
IdentitySample.ApiEndpoints (1)
Program.cs (1)
20.AddEntityFrameworkStores<ApplicationDbContext>();
IdentitySample.DefaultUI (1)
Startup.cs (1)
47.AddEntityFrameworkStores<ApplicationDbContext>();
IdentitySample.Mvc (1)
Startup.cs (1)
39.AddEntityFrameworkStores<ApplicationDbContext>()
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (20)
CustomSchemaTest.cs (1)
31.AddEntityFrameworkStores<CustomVersionDbContext>();
DefaultPocoTest.cs (1)
28.AddEntityFrameworkStores<IdentityDbContext>();
EmptySchemaTest.cs (1)
31.AddEntityFrameworkStores<EmptyDbContext>();
MaxKeyLengthSchemaTest.cs (1)
28.AddEntityFrameworkStores<VerstappenDbContext>();
SqlStoreTestBase.cs (1)
43.AddEntityFrameworkStores<TestDbContext>();
UserOnlyCustomContextTest.cs (1)
72.AddEntityFrameworkStores<CustomContext>();
UserOnlyTest.cs (1)
33.AddEntityFrameworkStores<TestUserDbContext>();
UserStoreEncryptPersonalDataTest.cs (3)
30.AddEntityFrameworkStores<TestDbContext>() 187.AddEntityFrameworkStores<TContext>() 284.AddEntityFrameworkStores<IdentityDbContext<CustomUser>>()
UserStoreGuidKeyTest.cs (2)
61var builder = services.AddIdentity<GuidUser, GuidRole>().AddEntityFrameworkStores<TestDbContext>(); 78var builder = services.AddIdentityCore<IdentityUser<Guid>>().AddRoles<IdentityRole<Guid>>().AddEntityFrameworkStores<TestDbContext>();
UserStoreIntKeyTest.cs (2)
39var builder = services.AddIdentity<IntUser, IntRole>().AddEntityFrameworkStores<TestDbContext>(); 56var builder = services.AddIdentityCore<IdentityUser<int>>().AddRoles<IdentityRole<int>>().AddEntityFrameworkStores<TestDbContext>();
UserStoreStringKeyTest.cs (2)
40var builder = services.AddIdentity<StringUser, StringRole>().AddEntityFrameworkStores<TestDbContext>(); 57var builder = services.AddIdentityCore<IdentityUser<string>>().AddRoles<IdentityRole<string>>().AddEntityFrameworkStores<TestDbContext>();
UserStoreWithGenericsTest.cs (2)
83var e = Assert.Throws<InvalidOperationException>(() => builder.AddEntityFrameworkStores<ContextWithGenerics>()); 92var e = Assert.Throws<InvalidOperationException>(() => builder.AddEntityFrameworkStores<ContextWithGenerics>());
VersionOneSchemaTest.cs (1)
30.AddEntityFrameworkStores<VersionOneDbContext>();
VersionTwoSchemaTest.cs (1)
31.AddEntityFrameworkStores<VersionTwoDbContext>();
Microsoft.AspNetCore.Identity.FunctionalTests (6)
MapIdentityApiTests.cs (6)
170services.AddIdentityCore<ApplicationUser>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>(); 245services.AddIdentityCore<ApplicationUser>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>(); 330services.AddIdentityCore<ApplicationUser>().AddApiEndpoints().AddEntityFrameworkStores<ApplicationDbContext>(); 633.AddEntityFrameworkStores<IdentityDbContext>() 1325.AddIdentityApiEndpoints<TUser>().AddEntityFrameworkStores<TContext>(); 1340.AddEntityFrameworkStores<ApplicationDbContext>()