Skip to content

Commit 8a338cf

Browse files
committed
added example for nullable deserialization
1 parent b0fc2a1 commit 8a338cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Example/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ static void Main(string[] args)
4949
User us = new User()
5050
{
5151
Name = "Morris Janatzek",
52-
Username = ""
52+
Username = "",
53+
Type = User.UserType.Manager,
54+
Test = 2
5355
};
5456

5557
db.Users.Add(us);

0 commit comments

Comments
 (0)