/// <summary>
        /// Requests the table caption for record identification the delegate.
        /// </summary>
        /// <param name="recordIdentification">The record identification.</param>
        /// <param name="theDelegate">The delegate.</param>
        public void RequestTableCaptionForRecordIdentification(string recordIdentification,
                                                               IRemoteTableCaptionDelegate theDelegate)
        {
            var localDelegate = new UPTableCaptionSearchDelegate(this, theDelegate);

            this.CrmQuery?.ReadRecord(recordIdentification, localDelegate);
            if (this.localDelegates == null)
            {
                this.localDelegates = new List <UPTableCaptionSearchDelegate>();
            }

            this.localDelegates.Add(localDelegate);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="UPTableCaptionSearchDelegate" /> class.
 /// </summary>
 /// <param name="caption">The caption.</param>
 /// <param name="theDelegate">The delegate.</param>
 public UPTableCaptionSearchDelegate(UPConfigTableCaption caption, IRemoteTableCaptionDelegate theDelegate)
 {
     this.tableCaption = caption;
     this.Delegate     = theDelegate;
 }