EFIssueSimulator
This repository was created to simulate the following issue on Entity Framework 6.1.3. Issue link: dotnet/ef6#31
Runing
There is 2 tests in project EfIssueSimulator.Test
The test ThereIsNoIssueWhenInsertARecordWithoutIDbCommandTreeInterceptor just run a simple insert with EF without using the Interceptors.
The test ThereIsIssueWhenInsertARecordWithIDbCommandTreeInterceptor reproduce the issue, adding the MultiTenantTreeInterceptor and MultiTenantInterceptor