protected override void SetRelatedEntityProperty(string propertyName, IEntityCore entity)
{
switch(propertyName)
{
case "AspnetApplication":
this.AspnetApplication = (AspnetApplicationsEntity)entity;
break;
case "Language":
this.Language = (LanguageEntity)entity;
break;
case "SnGroups":
this.SnGroups.Add((SnGroupEntity)entity);
break;
default:
this.OnSetRelatedEntityProperty(propertyName, entity);
break;
}
}