Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteCountOperation"/> class.
 /// </summary>
 /// <param name="containerMetaInfo">
 /// The container meta information.
 /// </param>
 /// <param name="recordIdentification">
 /// The record identification.
 /// </param>
 /// <param name="theHandler">
 /// The handler.
 /// </param>
 public RemoteCountOperation(
     UPContainerMetaInfo containerMetaInfo,
     string recordIdentification,
     ISearchOperationHandler theHandler)
     : this(containerMetaInfo, recordIdentification, null, -1, theHandler)
 {
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteSearchOperation"/> class.
 /// </summary>
 /// <param name="containerMetaInfo">
 /// The container meta information.
 /// </param>
 /// <param name="linkRecordIdentification">
 /// The link record identification.
 /// </param>
 /// <param name="linkId">
 /// The link identifier.
 /// </param>
 /// <param name="handler">
 /// The handler.
 /// </param>
 public RemoteSearchOperation(
     UPContainerMetaInfo containerMetaInfo,
     string linkRecordIdentification,
     int linkId,
     ISearchOperationHandler handler)
     : this(containerMetaInfo, null, linkRecordIdentification, linkId, handler)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UPLocalSearchOperationWithResult"/> class.
 /// </summary>
 /// <param name="result">
 /// The result.
 /// </param>
 /// <param name="query">
 /// The query.
 /// </param>
 /// <param name="handler">
 /// The handler.
 /// </param>
 public UPLocalSearchOperationWithResult(
     UPCRMResult result,
     UPContainerMetaInfo query,
     ISearchOperationHandler handler)
 {
     this.crmResult = result;
     this.crmQuery  = query;
     this.SearchOperationHandler = handler;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteCountOperation"/> class.
 /// </summary>
 /// <param name="containerMetaInfo">
 /// The container meta information.
 /// </param>
 /// <param name="recordIdentification">
 /// The record identification.
 /// </param>
 /// <param name="linkRecordIdentification">
 /// The link record identification.
 /// </param>
 /// <param name="linkId">
 /// The link identifier.
 /// </param>
 /// <param name="theHandler">
 /// The handler.
 /// </param>
 public RemoteCountOperation(
     UPContainerMetaInfo containerMetaInfo,
     string recordIdentification,
     string linkRecordIdentification,
     int linkId,
     ISearchOperationHandler theHandler)
     : base(containerMetaInfo, recordIdentification, linkRecordIdentification, linkId, theHandler)
 {
     this.QueryParameters["CountOnly"] = "1";
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteSearchOperation"/> class.
 /// </summary>
 /// <param name="containerMetaInfo">
 /// The container meta information.
 /// </param>
 /// <param name="theHandler">
 /// The handler.
 /// </param>
 public RemoteSearchOperation(UPContainerMetaInfo containerMetaInfo, ISearchOperationHandler theHandler)
     : this(containerMetaInfo, null, null, -1, theHandler)
 {
 }
Пример #6
0
 /// <summary>
 /// Handles the operation cancel.
 /// </summary>
 public void HandleOperationCancel()
 {
     this.SearchOperationHandler = null;
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UPLocalCountOperationWithResult"/> class.
 /// </summary>
 /// <param name="count">
 /// The count.
 /// </param>
 /// <param name="metaInfo">
 /// The meta information.
 /// </param>
 /// <param name="handler">
 /// The handler.
 /// </param>
 public UPLocalCountOperationWithResult(int count, UPContainerMetaInfo metaInfo, ISearchOperationHandler handler)
 {
     this.count                  = count;
     this.containerMetaInfo      = metaInfo;
     this.SearchOperationHandler = handler;
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UPLocalSearchOperation"/> class.
 /// </summary>
 /// <param name="query">
 /// The query.
 /// </param>
 /// <param name="metaInfo">
 /// The meta information.
 /// </param>
 /// <param name="handler">
 /// The handler.
 /// </param>
 public UPLocalSearchOperation(Query query, UPContainerMetaInfo metaInfo, ISearchOperationHandler handler)
 {
     this.query                  = query;
     this.containerMetaInfo      = metaInfo;
     this.SearchOperationHandler = handler;
 }
Пример #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UPLocalCountOperation"/> class.
 /// </summary>
 /// <param name="databaseQuery">
 /// The database query.
 /// </param>
 /// <param name="metaInfo">
 /// The meta information.
 /// </param>
 /// <param name="handler">
 /// The handler.
 /// </param>
 public UPLocalCountOperation(Query databaseQuery, UPContainerMetaInfo metaInfo, ISearchOperationHandler handler)
 {
     this.query                  = databaseQuery;
     this.containerMetaInfo      = metaInfo;
     this.SearchOperationHandler = handler;
 }