How to directly modify underlying nmemory database

Nov 3, 2015 at 8:48 PM
Hi, We have a EF6 code first model which uses a boolean discriminator to implement soft delete. The boolean column is set up in OnModelCreating like this...
    modelBuilder.Entity<MyEntity>()
        .Map(m => m.Requires("SoftDeleted").HasValue(false))
        .Ignore(m => m.SoftDeleted);
So you can see that the SoftDeleted property is not directly accessible. In normal use against the real database we set SoftDeleted using an SQL update. For testing we need to do the equivalent for NMemory. Is there a way to do this?