예제 #1
0
        public void EditButton(dynamic data)
        {
            var wrappers = RequestWrapper.InstanceArray(1);

            wrappers[0].SetJson("{table:'sys_button',where:[{column:'ButtonCode'}]}");

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

            var service = new sys_buttonService();
            var result = service.Edit(data, null, wrappers);
        }