Пример #1
0
 private void InitObject()
 {
     _Password = string.Empty;
     LoginName = string.Empty;
     FirstName = string.Empty;
     LastName = string.Empty;
     Email = string.Empty;
     _AddressId = -1;
     _Address = null;
     Website = string.Empty;
     SocialSites = string.Empty;
     _DateCreated = DateTime.MinValue;            
 }
Пример #2
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;
     }
 }
Пример #3
0
 protected void InitObject()
 {
     _Id = 0;
     _Sex = ' ';
     _WebAccount = null;
     _WebAccountId = 0;
     LastName = string.Empty;
     FirstName = string.Empty;
     IsActive = false;
     Status = 0;
     AnniversaryDate = DateTime.MinValue;
     BirthDate = DateTime.MinValue;
     _DateCreated = DateTime.MinValue;
     Occupation = string.Empty;
     _Address = null;
     _AddressId = -1;
     _EmergencyAddress = null;
     _EmergencyAddressId = -1;
     PhoneMobile = string.Empty;
     PhoneWork = string.Empty;
     Email = string.Empty;
     EmailWork = string.Empty;
     Notes = string.Empty;
 }