HighwayFramework / Highway.Data

The fastest and smoothest way to great architecture
http://hwyfwk.com
MIT License
73 stars 30 forks source link

InMemoryDataContext Increments IDs across instances. #102

Closed ericburcham closed 7 years ago

ericburcham commented 8 years ago

When using an instance of InMemoryDataContext as a field in a unit test class, setting the field to a new instance in between tests does not reset IDs for newly committed entities back to 1.

ericburcham commented 8 years ago

This issue is fixed in the following pull request: https://github.com/HighwayFramework/Highway.Data/pull/105