예제 #1
0
 public void Edit(dynamic data)
 {
     var wrappers = RequestWrapper.InstanceArray(1);
     wrappers[0].SetJson("{table:'sys_user',where:[{column:'UserCode'}]}");
     var service = new sys_userService();
     var result = service.Edit(data, null, wrappers);
 }
예제 #2
0
        public void Edit(dynamic data)
        {
            var wrappers = RequestWrapper.InstanceArray(1);

            wrappers[0].SetJson("{table:'sys_user',where:[{column:'UserCode'}]}");
            var service = new sys_userService();
            var result  = service.Edit(data, null, wrappers);
        }
예제 #3
0
 public void Edit(dynamic data)
 {
     var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@"
     <settings>
     <table>sys_user</table>
     <where>
     <field name='UserCode' cp='equal'></field>
     </where>
     </settings>");
     var service = new sys_userService();
     var result = service.Edit(null, listWrapper, data);
 }
예제 #4
0
        public void Edit(dynamic data)
        {
            var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@"
<settings>
    <table>sys_user</table>
    <where>
        <field name='UserCode' cp='equal'></field>
    </where>
</settings>");
            var service = new sys_userService();
            var result = service.Edit(null, listWrapper, data);
        }