MonoSoftware.MonoX.DAL.EntityClasses.SnDiscussionMessageEntity.SetupSyncAdminAttentionReportedByUser C# (CSharp) Method

SetupSyncAdminAttentionReportedByUser() private method

setups the sync logic for member _adminAttentionReportedByUser
private SetupSyncAdminAttentionReportedByUser ( IEntityCore relatedEntity ) : void
relatedEntity IEntityCore Instance to set as the related entity of type entityType
return void
        private void SetupSyncAdminAttentionReportedByUser(IEntityCore relatedEntity)
        {
            if(_adminAttentionReportedByUser!=relatedEntity)
            {
                DesetupSyncAdminAttentionReportedByUser(true, true);
                _adminAttentionReportedByUser = (AspnetUsersEntity)relatedEntity;
                this.PerformSetupSyncRelatedEntity( _adminAttentionReportedByUser, new PropertyChangedEventHandler( OnAdminAttentionReportedByUserPropertyChanged ), "AdminAttentionReportedByUser", MonoSoftware.MonoX.DAL.RelationClasses.StaticSnDiscussionMessageRelations.AspnetUsersEntityUsingAdminAttentionReportedByUserIdStatic, true, new string[] {  } );
            }
        }