Beispiel #1
0
 public TUpdate_Return[] update(TUpdate_Input[] Groups) {
     object[] results = this.Invoke("update", new object[] {
                 Groups});
     return ((TUpdate_Return[])(results[0]));
 }
Beispiel #2
0
 /// <remarks/>
 public System.IAsyncResult Beginupdate(TUpdate_Input[] Groups, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("update", new object[] {
                 Groups}, callback, asyncState);
 }
        /// <summary>
        /// test update of a customer group and check if method returns a true value
        /// </summary>
        public void testUpdate()
        {
            TUpdate_Input[] groups = new TUpdate_Input[] { group_up };

            TUpdate_Return[] groups_out = customerGroupService.update(groups);

            // test if creation was successful
            Assert.AreEqual(1, groups_out.Length, "update result set");

            TUpdate_Return group_out = groups_out[0];
            Assert.AreEqual(alias, group_out.Alias, "customer alias");
            Assert.AreEqual(true, group_out.updated, "updated?");
        }