ruskindantra/AutoFixture.AutoEntityFramework

Compatibility with EF6

Closed this issue · 1 comments

The code currently depends on EF5; EF6 is production ready now, so I think it's time to upgrade.

Actually there is no dependency on a specific version of Entity Framework. In fact, this library could be used for any lazily-loaded object network (NHibernate, for example). All that's needed is to provide a list of entity types through an implementation of the IEntityTypesProvider interface - it's possible that the DbContextEntityTypesProvider is not compatible with EF6, in which case users are encouraged to create their own suitable implementation.