This project has moved and is read-only. For the latest updates, please go here.

How to directly modify underlying nmemory database

Nov 3, 2015 at 9: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...
        .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?