VB.net not passing nulls to integer in web service test
I need to be able to pass nulls to integers when testing a web services. this passes a zero instead:
Dim request As New twservices1.SupplyCostRequest
request.SupplyRouteKey = rnd.Next(1, 616)
request.DestinationTradingPartnerKey = Nothing
request.OriginTradingPartnerKey = Nothing
request.ItemKey = Nothing
for the last three criteria which are nullable integers.
Is this because the version of visual studio for scripting is 1.1? any ideas?
Dim request As New twservices1.SupplyCostRequest
request.SupplyRouteKey = rnd.Next(1, 616)
request.DestinationTradingPartnerKey = Nothing
request.OriginTradingPartnerKey = Nothing
request.ItemKey = Nothing
for the last three criteria which are nullable integers.
Is this because the version of visual studio for scripting is 1.1? any ideas?
Comments