Пример #1
0
 public Member(int id, string memberName, string memberSocSecNo)
 {
     if (id == 0)
     {
         //Sets a unique member id, for a new member
         MemberID memberId = new MemberID();
         this._memberId = memberId.generateMemberId();
     }
     else
     {
         this._memberId = id;
     }
     this._memberName     = memberName;
     this._memberSocSecNo = memberSocSecNo;
 }
Пример #2
0
 public Member(int id, string memberName, string memberSocSecNo)
 {
     if (id == 0)
     {
         //Sets a unique member id, for a new member
         MemberID memberId = new MemberID();
         this._memberId = memberId.generateMemberId();
     }
     else
     {
         this._memberId = id;
     }
     this._memberName = memberName;
     this._memberSocSecNo = memberSocSecNo;
 }