Inheritance: CommonEntityBase
 /// <summary> Removes the sync logic for member _aspnetProfile</summary>
 /// <param name="signalRelatedEntity">If set to true, it will call the related entity's UnsetRelatedEntity method</param>
 /// <param name="resetFKFields">if set to true it will also reset the FK fields pointing to the related entity</param>
 private void DesetupSyncAspnetProfile(bool signalRelatedEntity, bool resetFKFields)
 {
     this.PerformDesetupSyncRelatedEntity( _aspnetProfile, new PropertyChangedEventHandler( OnAspnetProfilePropertyChanged ), "AspnetProfile", MonoSoftware.MonoX.DAL.RelationClasses.StaticAspnetUsersRelations.AspnetProfileEntityUsingUserIdStatic, false, signalRelatedEntity, "AspnetUsers", false, new int[] { (int)AspnetUsersFieldIndex.UserId } );
     _aspnetProfile = null;
 }
 /// <summary> setups the sync logic for member _aspnetProfile</summary>
 /// <param name="relatedEntity">Instance to set as the related entity of type entityType</param>
 private void SetupSyncAspnetProfile(IEntityCore relatedEntity)
 {
     if(_aspnetProfile!=relatedEntity)
     {
         DesetupSyncAspnetProfile(true, true);
         _aspnetProfile = (AspnetProfileEntity)relatedEntity;
         this.PerformSetupSyncRelatedEntity( _aspnetProfile, new PropertyChangedEventHandler( OnAspnetProfilePropertyChanged ), "AspnetProfile", MonoSoftware.MonoX.DAL.RelationClasses.StaticAspnetUsersRelations.AspnetProfileEntityUsingUserIdStatic, false, new string[] {  } );
     }
 }
 protected AspnetUsersEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _aspnetPersonalizationPerUser = (EntityCollection<AspnetPersonalizationPerUserEntity>)info.GetValue("_aspnetPersonalizationPerUser", typeof(EntityCollection<AspnetPersonalizationPerUserEntity>));
         _aspnetUsersInRoles = (EntityCollection<AspnetUsersInRolesEntity>)info.GetValue("_aspnetUsersInRoles", typeof(EntityCollection<AspnetUsersInRolesEntity>));
         _auditInfos = (EntityCollection<AuditInfoEntity>)info.GetValue("_auditInfos", typeof(EntityCollection<AuditInfoEntity>));
         _blogs = (EntityCollection<BlogEntity>)info.GetValue("_blogs", typeof(EntityCollection<BlogEntity>));
         _blogEditors = (EntityCollection<BlogEditorEntity>)info.GetValue("_blogEditors", typeof(EntityCollection<BlogEditorEntity>));
         _blogPosts = (EntityCollection<BlogPostEntity>)info.GetValue("_blogPosts", typeof(EntityCollection<BlogPostEntity>));
         _calendars = (EntityCollection<CalendarEntity>)info.GetValue("_calendars", typeof(EntityCollection<CalendarEntity>));
         _calendarEvents = (EntityCollection<CalendarEventEntity>)info.GetValue("_calendarEvents", typeof(EntityCollection<CalendarEventEntity>));
         _calendarModerators = (EntityCollection<CalendarModeratorEntity>)info.GetValue("_calendarModerators", typeof(EntityCollection<CalendarModeratorEntity>));
         _documents = (EntityCollection<DocumentEntity>)info.GetValue("_documents", typeof(EntityCollection<DocumentEntity>));
         _lists = (EntityCollection<ListEntity>)info.GetValue("_lists", typeof(EntityCollection<ListEntity>));
         _newsItems = (EntityCollection<NewsItemEntity>)info.GetValue("_newsItems", typeof(EntityCollection<NewsItemEntity>));
         _newsletters = (EntityCollection<NewsletterEntity>)info.GetValue("_newsletters", typeof(EntityCollection<NewsletterEntity>));
         _newsPublishQueue = (EntityCollection<NewsPublishQueueEntity>)info.GetValue("_newsPublishQueue", typeof(EntityCollection<NewsPublishQueueEntity>));
         _oaTokens = (EntityCollection<OaTokenEntity>)info.GetValue("_oaTokens", typeof(EntityCollection<OaTokenEntity>));
         _page = (EntityCollection<PageEntity>)info.GetValue("_page", typeof(EntityCollection<PageEntity>));
         _polls = (EntityCollection<PollEntity>)info.GetValue("_polls", typeof(EntityCollection<PollEntity>));
         _privacyLevelDefinition = (EntityCollection<PrivacyLevelDefinitionEntity>)info.GetValue("_privacyLevelDefinition", typeof(EntityCollection<PrivacyLevelDefinitionEntity>));
         _snAlbums = (EntityCollection<SnAlbumEntity>)info.GetValue("_snAlbums", typeof(EntityCollection<SnAlbumEntity>));
         _snBlockUsers = (EntityCollection<SnBlockUserEntity>)info.GetValue("_snBlockUsers", typeof(EntityCollection<SnBlockUserEntity>));
         _snBlockUsers_ = (EntityCollection<SnBlockUserEntity>)info.GetValue("_snBlockUsers_", typeof(EntityCollection<SnBlockUserEntity>));
         _snComments = (EntityCollection<SnCommentEntity>)info.GetValue("_snComments", typeof(EntityCollection<SnCommentEntity>));
         _snDiscussionMessage = (EntityCollection<SnDiscussionMessageEntity>)info.GetValue("_snDiscussionMessage", typeof(EntityCollection<SnDiscussionMessageEntity>));
         _snEvents = (EntityCollection<SnEventEntity>)info.GetValue("_snEvents", typeof(EntityCollection<SnEventEntity>));
         _snFriendEvents = (EntityCollection<SnEventEntity>)info.GetValue("_snFriendEvents", typeof(EntityCollection<SnEventEntity>));
         _snFiles = (EntityCollection<SnFileEntity>)info.GetValue("_snFiles", typeof(EntityCollection<SnFileEntity>));
         _snFriendsUsers = (EntityCollection<SnFriendEntity>)info.GetValue("_snFriendsUsers", typeof(EntityCollection<SnFriendEntity>));
         _snFriendsFriends = (EntityCollection<SnFriendEntity>)info.GetValue("_snFriendsFriends", typeof(EntityCollection<SnFriendEntity>));
         _snFriendLists = (EntityCollection<SnFriendListEntity>)info.GetValue("_snFriendLists", typeof(EntityCollection<SnFriendListEntity>));
         _snFriendListMembers = (EntityCollection<SnFriendListMemberEntity>)info.GetValue("_snFriendListMembers", typeof(EntityCollection<SnFriendListMemberEntity>));
         _snFriendRequestsFriends = (EntityCollection<SnFriendRequestEntity>)info.GetValue("_snFriendRequestsFriends", typeof(EntityCollection<SnFriendRequestEntity>));
         _snFriendRequestsUsers = (EntityCollection<SnFriendRequestEntity>)info.GetValue("_snFriendRequestsUsers", typeof(EntityCollection<SnFriendRequestEntity>));
         _snGroups = (EntityCollection<SnGroupEntity>)info.GetValue("_snGroups", typeof(EntityCollection<SnGroupEntity>));
         _snGroupMembers = (EntityCollection<SnGroupMemberEntity>)info.GetValue("_snGroupMembers", typeof(EntityCollection<SnGroupMemberEntity>));
         _snGroupRequests = (EntityCollection<SnGroupRequestEntity>)info.GetValue("_snGroupRequests", typeof(EntityCollection<SnGroupRequestEntity>));
         _snMessages = (EntityCollection<SnMessageEntity>)info.GetValue("_snMessages", typeof(EntityCollection<SnMessageEntity>));
         _snMessageRecipients = (EntityCollection<SnMessageRecipientEntity>)info.GetValue("_snMessageRecipients", typeof(EntityCollection<SnMessageRecipientEntity>));
         _snNotesPostedTo = (EntityCollection<SnNoteEntity>)info.GetValue("_snNotesPostedTo", typeof(EntityCollection<SnNoteEntity>));
         _snNotesAuthoredBy = (EntityCollection<SnNoteEntity>)info.GetValue("_snNotesAuthoredBy", typeof(EntityCollection<SnNoteEntity>));
         _snRating = (EntityCollection<SnRatingEntity>)info.GetValue("_snRating", typeof(EntityCollection<SnRatingEntity>));
         _snRelationshipss = (EntityCollection<SnRelationshipEntity>)info.GetValue("_snRelationshipss", typeof(EntityCollection<SnRelationshipEntity>));
         _snSubscribers = (EntityCollection<SnSubscriberEntity>)info.GetValue("_snSubscribers", typeof(EntityCollection<SnSubscriberEntity>));
         _userSocialIdentities = (EntityCollection<UserSocialIdentityEntity>)info.GetValue("_userSocialIdentities", typeof(EntityCollection<UserSocialIdentityEntity>));
         _aspnetApplications = (AspnetApplicationsEntity)info.GetValue("_aspnetApplications", typeof(AspnetApplicationsEntity));
         if(_aspnetApplications!=null)
         {
             _aspnetApplications.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         _aspnetMembership = (AspnetMembershipEntity)info.GetValue("_aspnetMembership", typeof(AspnetMembershipEntity));
         if(_aspnetMembership!=null)
         {
             _aspnetMembership.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         _aspnetProfile = (AspnetProfileEntity)info.GetValue("_aspnetProfile", typeof(AspnetProfileEntity));
         if(_aspnetProfile!=null)
         {
             _aspnetProfile.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         _userAvatar = (UserAvatarEntity)info.GetValue("_userAvatar", typeof(UserAvatarEntity));
         if(_userAvatar!=null)
         {
             _userAvatar.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         _userProfile = (UserProfileEntity)info.GetValue("_userProfile", typeof(UserProfileEntity));
         if(_userProfile!=null)
         {
             _userProfile.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }