protected override void SetRelatedEntityProperty(string propertyName, IEntityCore entity)
{
switch(propertyName)
{
case "AspnetApplications":
this.AspnetApplications = (AspnetApplicationsEntity)entity;
break;
case "NewsCategoryParent":
this.NewsCategoryParent = (NewsCategoryEntity)entity;
break;
case "NewsCategoryChildrens":
this.NewsCategoryChildrens.Add((NewsCategoryEntity)entity);
break;
case "NewsCategoryInRoles":
this.NewsCategoryInRoles.Add((NewsCategoryInRoleEntity)entity);
break;
case "NewsCategoryLocalizations":
this.NewsCategoryLocalizations.Add((NewsCategoryLocalizationEntity)entity);
break;
case "NewsItems":
this.NewsItems.Add((NewsItemEntity)entity);
break;
case "SnRelationshipss":
this.SnRelationshipss.Add((SnRelationshipEntity)entity);
break;
case "NewsCategoryTemplate":
this.NewsCategoryTemplate = (NewsCategoryTemplateEntity)entity;
break;
default:
this.OnSetRelatedEntityProperty(propertyName, entity);
break;
}
}