示例#1
0
        public static void Init()
        {
            Script.FunctionChain.Add(RemoteExtension.functions);

            Constant.MAX_STRING_SIZE = 20 * 1024 * 1024;

            Valizer.Register <DataSet>(
                ds => RemoteExtension.ToVal(ds),
                (host, type, xml) => RemoteExtension.ToDataSet(host, type, xml)
                );

            Valizer.Register <DataTable>(
                dt => RemoteExtension.ToVal(dt),
                (host, type, xml) => RemoteExtension.ToDataTable(host, type, xml)
                );
        }
示例#2
0
 static RemoteInvoke()
 {
     RemoteExtension.Init();
 }
示例#3
0
 static RemoteProxy()
 {
     Constant.MAX_STRING_SIZE = 10 * 1024 * 1024;
     RemoteExtension.Init();
 }