Example #1
0
 public override int CalculateVersion()
 {
     return(new
     {
         Base = base.CalculateVersion(),
         Active,
         //Locale,
         Name = Name == null ? 0 : Name.CalculateVersion(),
         //NickName,
         //DisplayName,
         Password,
         //PreferredLanguage,
         //ProfileUrl,
         //Timezone,
         //Title,
         UserName,
         //UserType,
         Addresses = Addresses.GetMultiValuedAttributeCollectionVersion(),
         Emails = Emails.GetMultiValuedAttributeCollectionVersion(),
         // Entitlements = Entitlements.GetMultiValuedAttributeCollectionVersion(),
         // Groups = Groups.GetMultiValuedAttributeCollectionVersion(),
         //Ims = Ims.GetMultiValuedAttributeCollectionVersion(),
         PhoneNumbers = PhoneNumbers.GetMultiValuedAttributeCollectionVersion(),
         // Photos = Photos.GetMultiValuedAttributeCollectionVersion(),
         // Roles = Roles.GetMultiValuedAttributeCollectionVersion(),
         // X509Certificates = X509Certificates.GetMultiValuedAttributeCollectionVersion()
     }.GetHashCode());
 }