Inheritance: CommonEntityBase
 /// <summary> Removes the sync logic for member _snGroupCategory</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 DesetupSyncSnGroupCategory(bool signalRelatedEntity, bool resetFKFields)
 {
     this.PerformDesetupSyncRelatedEntity( _snGroupCategory, new PropertyChangedEventHandler( OnSnGroupCategoryPropertyChanged ), "SnGroupCategory", MonoSoftware.MonoX.DAL.RelationClasses.StaticSnGroupRelations.SnGroupCategoryEntityUsingGroupCategoryIdStatic, true, signalRelatedEntity, "SnGroups", resetFKFields, new int[] { (int)SnGroupFieldIndex.GroupCategoryId } );
     _snGroupCategory = null;
 }
 /// <summary> setups the sync logic for member _snGroupCategory</summary>
 /// <param name="relatedEntity">Instance to set as the related entity of type entityType</param>
 private void SetupSyncSnGroupCategory(IEntityCore relatedEntity)
 {
     if(_snGroupCategory!=relatedEntity)
     {
         DesetupSyncSnGroupCategory(true, true);
         _snGroupCategory = (SnGroupCategoryEntity)relatedEntity;
         this.PerformSetupSyncRelatedEntity( _snGroupCategory, new PropertyChangedEventHandler( OnSnGroupCategoryPropertyChanged ), "SnGroupCategory", MonoSoftware.MonoX.DAL.RelationClasses.StaticSnGroupRelations.SnGroupCategoryEntityUsingGroupCategoryIdStatic, true, new string[] {  } );
     }
 }
 protected SnGroupEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _snAlbum = (EntityCollection<SnAlbumEntity>)info.GetValue("_snAlbum", typeof(EntityCollection<SnAlbumEntity>));
         _snDiscussionBoard = (EntityCollection<SnDiscussionBoardEntity>)info.GetValue("_snDiscussionBoard", typeof(EntityCollection<SnDiscussionBoardEntity>));
         _snEvents = (EntityCollection<SnEventEntity>)info.GetValue("_snEvents", typeof(EntityCollection<SnEventEntity>));
         _snGroupMembers = (EntityCollection<SnGroupMemberEntity>)info.GetValue("_snGroupMembers", typeof(EntityCollection<SnGroupMemberEntity>));
         _snGroupRequests = (EntityCollection<SnGroupRequestEntity>)info.GetValue("_snGroupRequests", typeof(EntityCollection<SnGroupRequestEntity>));
         _snNotes = (EntityCollection<SnNoteEntity>)info.GetValue("_snNotes", typeof(EntityCollection<SnNoteEntity>));
         _snRelationshipss = (EntityCollection<SnRelationshipEntity>)info.GetValue("_snRelationshipss", typeof(EntityCollection<SnRelationshipEntity>));
         _aspnetUser = (AspnetUsersEntity)info.GetValue("_aspnetUser", typeof(AspnetUsersEntity));
         if(_aspnetUser!=null)
         {
             _aspnetUser.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         _snGroupCategory = (SnGroupCategoryEntity)info.GetValue("_snGroupCategory", typeof(SnGroupCategoryEntity));
         if(_snGroupCategory!=null)
         {
             _snGroupCategory.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }