11 references to ContextWithGenerics
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (11)
UserStoreWithGenericsTest.cs (11)
22private ContextWithGenerics CreateContext() 24var db = DbUtil.Create<ContextWithGenerics>(_fixture.Connection); 36services.AddSingleton<IUserStore<IdentityUserWithGenerics>>(new UserStoreWithGenerics((ContextWithGenerics)context, "TestContext")); 41services.AddSingleton<IRoleStore<MyIdentityRole>>(new RoleStoreWithGenerics((ContextWithGenerics)context, "TestContext")); 83var e = Assert.Throws<InvalidOperationException>(() => builder.AddEntityFrameworkStores<ContextWithGenerics>()); 92var e = Assert.Throws<InvalidOperationException>(() => builder.AddEntityFrameworkStores<ContextWithGenerics>()); 199public class UserStoreWithGenerics : UserStore<IdentityUserWithGenerics, MyIdentityRole, ContextWithGenerics, string, IdentityUserClaimWithIssuer, IdentityUserRoleWithDate, IdentityUserLoginWithContext, IdentityUserTokenWithStuff, IdentityRoleClaimWithIssuer> 203public UserStoreWithGenerics(ContextWithGenerics context, string loginContext) : base(context) 248public class RoleStoreWithGenerics : RoleStore<MyIdentityRole, ContextWithGenerics, string, IdentityUserRoleWithDate, IdentityRoleClaimWithIssuer> 251public RoleStoreWithGenerics(ContextWithGenerics context, string loginContext) : base(context)