File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ public class Order2
14
14
{
15
15
[ FluentMember ( 0 ) ]
16
16
[ FluentContinueWith ( 0 ) ]
17
- public int Number { get ; private set ; }
17
+ public int ? Number { get ; private set ; }
18
18
19
19
[ FluentMember ( 0 , "{Name}" ) ]
20
20
[ FluentContinueWith ( 0 ) ]
21
- public DateTime CreatedOn { get ; private set ; }
21
+ public DateTime ? CreatedOn { get ; private set ; }
22
22
23
23
[ FluentLambda ( 0 , "ShippedTo" ) ]
24
24
[ FluentContinueWith ( 0 ) ]
25
- public Address2 ShippingAddress { get ; private set ; }
25
+ public Address2 ? ShippingAddress { get ; private set ; }
26
26
27
27
[ FluentMethod ( 0 ) ]
28
28
private void Build ( )
@@ -56,6 +56,10 @@ public class Address2
56
56
[ FluentMethod ( 0 ) ]
57
57
private void Build ( )
58
58
{
59
+ Street ??= "N/A" ;
60
+ City ??= "N/A" ;
61
+ Zip ??= "N/A" ;
59
62
State ??= "N/A" ;
63
+ Country ??= "N/A" ;
60
64
}
61
65
}
You can’t perform that action at this time.
0 commit comments