Forum class (member) explination??
OK, i'm making some big changes to the code, but can't figure out some of the values or comming from.
For example: Where is the value for the ByVal memberUserId comming from?
<code>
Namespace WebModules.Forums.Business
Public NotInheritable Class Member
Inherits Wrox.WebModules.Business.BizObject
'(memberUserID) comes from what and where?
Public Function LoadFromUser(ByVal memberUserId As Integer) As Integer
Dim members As New Data.Members(mySettings.ConnectionString)
myMemberId = members.GetMemberId(memberUserId)
If myMemberId = -1 Then
ResetProperties()
Else
LoadFromId()
End If
Return myMemberId
End Function</code>
Someone Please explain this code with some illustrations if possible.
|