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