InMemory provider troubles

When using InMemory database provider many Entity Framework features doesn’t work. ShamanDbContext  implements IInMemoryDatabaseAwareDbProvider  interface and has IsUsingInMemoryDatabase  property. ShamanDbContext  doesn’t set this property by automatically. In order to detect if dbContext uses InMemory db provider, following method can be used in ShamanDbContext  deriving class.

The method can be used in constructor

and OnConfiguring method.