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
1414{
1515 [ FluentMember ( 0 ) ]
1616 [ FluentContinueWith ( 0 ) ]
17- public int Number { get ; private set ; }
17+ public int ? Number { get ; private set ; }
1818
1919 [ FluentMember ( 0 , "{Name}" ) ]
2020 [ FluentContinueWith ( 0 ) ]
21- public DateTime CreatedOn { get ; private set ; }
21+ public DateTime ? CreatedOn { get ; private set ; }
2222
2323 [ FluentLambda ( 0 , "ShippedTo" ) ]
2424 [ FluentContinueWith ( 0 ) ]
25- public Address2 ShippingAddress { get ; private set ; }
25+ public Address2 ? ShippingAddress { get ; private set ; }
2626
2727 [ FluentMethod ( 0 ) ]
2828 private void Build ( )
@@ -56,6 +56,10 @@ public class Address2
5656 [ FluentMethod ( 0 ) ]
5757 private void Build ( )
5858 {
59+ Street ??= "N/A" ;
60+ City ??= "N/A" ;
61+ Zip ??= "N/A" ;
5962 State ??= "N/A" ;
63+ Country ??= "N/A" ;
6064 }
6165}
You can’t perform that action at this time.
0 commit comments