public void RemoveAsset(ContentBearingObject asset) { ContentAssetRole role = asset.RelationTo<ContentAssetRole>(this); if (role != null) { role.Delete(); } }
public void AddAsset(ContentBearingObject asset) { ContentAssetRole role = new ContentAssetRole(); role.SetContent(this); role.SetContentAsset(asset); }
public void SetContentAsset(ContentBearingObject contentAsset) { SetWhatIs(contentAsset); }