Open Kaffeetasse opened 9 months ago
I have encountered an Issue, when an int or long key property is used and the MockDbSet has initial Entities with predefined key values.
This PR also includes a test for this case.
My idea was if a new Entity with a Key is added to set the KeyContext Identity value to the provided Key if it is larger than the current one.
I have encountered an Issue, when an int or long key property is used and the MockDbSet has initial Entities with predefined key values.
This PR also includes a test for this case.
My idea was if a new Entity with a Key is added to set the KeyContext Identity value to the provided Key if it is larger than the current one.