I am populating the customer object as shown below. How do I write condtions as shown below in
for eg. If isdbNull(.age) then .age=10 else .age=dr("age") end if
Public Shared Function Retrieve() As List(Of Customer)
Dim dt As DataTable = Dac.ExecuteDataTable( _ 
                "CustomerRetrieveAll", nothing)
Dim customerList As New List(Of Customer)
For Each dr As DataRow In dt.Rows 
   customerList.Add(New Customer With _ 
                {.CustomerId = CType(dr("CustomerID"), Integer), _ 
                 .LastName = dr("LastName").ToString, _
                 .age = dr("age").ToString, _ 
                 .FirstName = dr("FirstName").ToString})  
Next
Return customerList
End Function