static void Main(string[] args)
        {
            DBHelper.init();
            root r = new root();

            r.act = new act()
            {
                actid = "43", content = "2", fileNumber = "df"
            };

            string a        = SerializationHelper.SerializeObject <root>(r);
            string basePath = @"E:\SkyDrive\Projects\浦发事项\上线程序\POC自动打包上线\bin\Debug\Data\201308211916";

            string[] strFiles = Directory.GetFiles(basePath);
            foreach (var item in strFiles)
            {
                StreamReader sr   = new StreamReader(item);
                string       parm = sr.ReadToEnd();
                sr.Close();
                root roots = SerializationHelper.DeserializeObject <root>(parm);
                DBInsert(roots);
            }
        }
 static void DBInsert(root parm)
 {
     ActInsert(parm.act);
     ActItemInsert(parm.act.actitems);
     //  ActCorrelationInsert(parm.act.actcorrelations);
 }