How important is it to dispose (actually I could not find a Dispose method on an Entity) and set the reference to nothing?
For example, do I need the NewScore = Nothing in this example?
Public Shared Function ValidateScore(ByRef score As ScoreEntity, ByVal newScoreValue As String, ByVal specialScores As EntityCollection, ByVal errorMessage As String) As Boolean
Dim NewScore As New ScoreEntity
Try ...
Catch ex As Exception
Throw
Finally
NewScore = Nothing
End Try
End Function
Thanks,
Fishy