Пример #1
0
 /// <summary>
 /// Persist the specified media object to the data store. Return the ID of the media object.
 /// </summary>
 /// <param name="mediaObject">An instance of <see cref="IGalleryObject"/> to persist to the data store.</param>
 /// <returns>
 /// Return the ID of the media object. If this is a new media object and a new ID has been
 /// assigned, then this value has also been assigned to the ID property of the object.
 /// </returns>
 public override int MediaObject_Save(IGalleryObject mediaObject)
 {
     return(MediaObject.Save(mediaObject));
 }