protected override void SetRelatedEntityProperty(string propertyName, IEntityCore entity)
{
switch(propertyName)
{
case "AspnetApplication":
this.AspnetApplication = (AspnetApplicationsEntity)entity;
break;
case "AspnetUser":
this.AspnetUser = (AspnetUsersEntity)entity;
break;
case "PollAnswers":
this.PollAnswers.Add((PollAnswerEntity)entity);
break;
case "PollLocalizations":
this.PollLocalizations.Add((PollLocalizationEntity)entity);
break;
case "SnRelationshipss":
this.SnRelationshipss.Add((SnRelationshipEntity)entity);
break;
default:
this.OnSetRelatedEntityProperty(propertyName, entity);
break;
}
}