Closed GeneratedNickname closed 5 years ago
Find does not return null if the key is not found, but throws a System.Collections.Generic.KeyNotFoundException.
The documentation of DbSet states:
If no entity is found, then null is returned.
True, will fix right away! Thanks for bringing this up.
This problem should be fixed by now. Please re-open if there are still some issues.
Find does not return null if the key is not found, but throws a System.Collections.Generic.KeyNotFoundException.
The documentation of DbSet states: