Beispiel #1
0
        public string[] find(TFind_Input SearchParameters)
        {
            object[] results = this.Invoke("find", new object[] {
                SearchParameters
            });

            return((string[])(results[0]));
        }
Beispiel #2
0
        /// <summary>
        /// test find method. search for customer Order
        /// </summary>
        public void findCustomerOrder()
        {
            TFind_Input parameters = new TFind_Input();
            parameters.Customer = Order_in.Customer;
            string[] OrderPaths = orderService.find(parameters);

            // test if find was successful
            Assert.GreaterOrEqual(OrderPaths.Length, 1, "find result set");
        }
Beispiel #3
0
        /// <summary>
        /// test find method
        /// </summary>
        public void find()
        {
            TFind_Input parameters = new TFind_Input();
            parameters.Alias = Order_in.Alias;
            parameters.DateFrom = new DateTime(2006, 1, 1, 0, 0, 0, DateTimeKind.Local);
            parameters.DateTo = new DateTime(2006, 1, 3, 0, 0, 0, DateTimeKind.Local);
            string[] OrderPaths = orderService.find(parameters);

            // test if find was successful
            Assert.AreEqual(1, OrderPaths.Length, "find result set");
            Assert.AreEqual(path, OrderPaths[0], "Order path");
        }
Beispiel #4
0
 /// <remarks/>
 public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("find", new object[] {
         SearchParameters
     }, callback, asyncState));
 }
Beispiel #5
0
 /// <remarks/>
 public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("find", new object[] {
                 SearchParameters}, callback, asyncState);
 }
Beispiel #6
0
 public string[] find(TFind_Input SearchParameters) {
     object[] results = this.Invoke("find", new object[] {
                 SearchParameters});
     return ((string[])(results[0]));
 }