-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change to GetAll to allow the usage of a nullable type in T when T is…
… an interface… #933 (#936) * Change to GetAll to allow the usage of a nullable type in T when T is an interface. * Change to GetAll to allow the usage of a nullable type in T when T is an interface: further change to check if val == null and if so then don't try to assign it as a property value. * Change to Get to allow the usage of a nullable type in T when T is an interface. (effectively the same change as the previous change to GetAll.) * Change to GetAsync and GetAllAsync to allow the usage of a nullable type in T when T is an interface. * Added in UserWithNullableDob and IUserWithNullableDob. Added in tests for GetAndGetAllWithNullableValues and GetAsyncAndGetAllAsyncWithNullableValues. * Added in .ConfigureAwait(false) in the GetAsync Test. Added comment to identify which issue the test relates to. * Added NullableDates tables to the test databases. Adjusted variable names in GetAndGetAllWithNullableValues and GetAsyncAndGetAllAsyncWithNullableValues. * Changed IUserWithNullableDob to INullableDate.
- Loading branch information
1 parent
671419c
commit 07fe543
Showing
5 changed files
with
106 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters