MonoSoftware.MonoX.DAL.EntityClasses.PollEntity.SetupSyncAspnetApplication C# (CSharp) Method

SetupSyncAspnetApplication() private method

setups the sync logic for member _aspnetApplication
private SetupSyncAspnetApplication ( IEntityCore relatedEntity ) : void
relatedEntity IEntityCore Instance to set as the related entity of type entityType
return void
        private void SetupSyncAspnetApplication(IEntityCore relatedEntity)
        {
            if(_aspnetApplication!=relatedEntity)
            {
                DesetupSyncAspnetApplication(true, true);
                _aspnetApplication = (AspnetApplicationsEntity)relatedEntity;
                this.PerformSetupSyncRelatedEntity( _aspnetApplication, new PropertyChangedEventHandler( OnAspnetApplicationPropertyChanged ), "AspnetApplication", MonoSoftware.MonoX.DAL.RelationClasses.StaticPollRelations.AspnetApplicationsEntityUsingApplicationIdStatic, true, new string[] {  } );
            }
        }