private void SetupSyncNewsCategoryTemplate(IEntityCore relatedEntity)
{
if(_newsCategoryTemplate!=relatedEntity)
{
DesetupSyncNewsCategoryTemplate(true, true);
_newsCategoryTemplate = (NewsCategoryTemplateEntity)relatedEntity;
this.PerformSetupSyncRelatedEntity( _newsCategoryTemplate, new PropertyChangedEventHandler( OnNewsCategoryTemplatePropertyChanged ), "NewsCategoryTemplate", MonoSoftware.MonoX.DAL.RelationClasses.StaticNewsCategoryRelations.NewsCategoryTemplateEntityUsingIdStatic, false, new string[] { } );
}
}