// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Data.Entity; namespace Microsoft.AspNet.Identity.EntityFramework.InMemory.Test { public class InMemoryContext : InMemoryContext { } public class InMemoryContext : InMemoryContext where TUser : IdentityUser { } public class InMemoryContext : IdentityDbContext where TUser : IdentityUser where TRole : IdentityRole where TKey : IEquatable { public InMemoryContext() { } protected override void OnConfiguring(DbContextOptions builder) { // Want fresh in memory store for tests always for now builder.UseInMemoryStore(persist: false); } } }