Пример #1
0
        /// <summary>
        /// Move this object from the current parent folder given in source to the destination folder.
        /// </summary>
        /// <param name="source">Source folder, can be null in which case the main parent folder is used.</param>
        /// <param name="destination">Destination folder.</param>
        public void Move(FWSord source, FWSord destination)
        {
            string sourceId = (source != null) ? source.Id.ToString() : null;

            Conn.Ix.refSord(sourceId, destination.Id.ToString(), Id.ToString(), -1);
            Refresh();
            source.Refresh();
            destination.Refresh();
        }
Пример #2
0
 /// <summary>
 /// Create a logical copy (reference) of this in the folder given by destination.
 /// </summary>
 /// <param name="destination">A reference is created in this folder.</param>
 public void Copy(FWSord destination)
 {
     Conn.Ix.refSord(null, destination.Id.ToString(), Id.ToString(), -1);
     destination.Refresh();
 }