protected SetRelatedEntityProperty ( string propertyName, IEntityCore entity ) : void | ||
propertyName | string | Name of the property. |
entity | IEntityCore | Entity to set as an related entity |
리턴 | void |
protected override void SetRelatedEntityProperty(string propertyName, IEntityCore entity)
{
switch(propertyName)
{
case "Campaign":
this.Campaign = (CampaignEntity)entity;
break;
case "AdPage":
this.AdPage.Add((AdPageEntity)entity);
break;
default:
this.OnSetRelatedEntityProperty(propertyName, entity);
break;
}
}