Exemple #1
0
 internal void CopyRowDataToObject(Shiloh.memberRow Row)
 {
     if (Row != null)
     {
         _Id = Row.ID;
         _Sex = Row.sex[0];
         _WebAccount = null;
         _WebAccountId = (!Row.IswebAccountIdNull()) ? Row.webAccountId : -1;
         LastName = Row.lastName;
         FirstName = Row.firstName;
         IsActive = Row.isActive;
         Status = Row.statusId;
         AnniversaryDate = Row.anniverisaryDate;
         BirthDate = Row.birthDate;
         _DateCreated = Row.dateCreated;
         Occupation = Row.occupation;
         _Address = null;
         _AddressId = (!Row.IsaddressIdNull()) ? Row.addressId : -1;
         _EmergencyAddress = null;
         _EmergencyAddressId = (!Row.IsemergencyAddressIdNull()) ? Row.emergencyAddressId : -1;
         PhoneMobile = Row.phoneMobile;
         PhoneWork = Row.phoneWork;
         Email = Row.email;
         EmailWork = Row.emailWork;
         Notes = Row.notes;
     }
 }
Exemple #2
0
 internal void CopyRowDataToObject(Shiloh.webAccountRow Row)
 {
     if (Row != null)
     {
         _DateCreated = Row.dateCreated;
         _Id = Row.ID;
         this.Email = Row.emailAddress;
         this.FirstName = Row.firstName;
         this.IsActive = Row.isActive;
         this.IsAdmin = Row.isAdmin;
         this.LastName = Row.lastName;
         this.LoginName = Row.loginName;
         this.SocialSites = Row.socialSites;
         this.Website = Row.website;
         _AddressId = (!Row.IsaddressIdNull()) ? Row.addressId : -1;
     }
 }