zoukankan      html  css  js  c++  java
  • 可以这样操作Xml

    Xml Data Source

    simple xml data source to be used as a replacement to sql server for a poor

    Project Description
    The framework will be used for creating easy and simple xml data source to be used as a replacement to sql server for a poor, simple, non-complicated environment. All Access to the data is done via simple sql queries as "select" "insert" "update" and "delete". All queries are executed with simplistic assumptions and best try to return results without any exceptions.

    [Test]
    public void TestCreateTable3()
    {
    XmlParsedCommand command
    = SqlParserWrapper.ParseCommandBeta("create table users (id,firstname)");
    Assert.IsTrue(command.Type
    == XmlParsedCommand.CommandType.Create, "command type");
    Assert.IsTrue(command.TableName
    == "users", "table name");
    Assert.IsTrue(command.Fields.Contains(
    "id"));
    Assert.IsTrue(command.Fields.Contains(
    "firstname"));
    }
    DropTable
    Insert
    Update
    Delete
    Select

    http://www.codeplex.com/XmlData

    为成功找方法,不为失败找借口!
  • 相关阅读:
    【Codeforce 487E】【UOJ#30】—Tourists(圆方树+树链剖分)
    【省选模拟】—River(贪心)
    【BZOJ4012】【HNOI2015】—开店(动态点分治)
    【BZOJ4543】【POI2014】Hotel加强版(长链剖分)
    【BZOJ3809】—GTY的二逼妹子序列(莫队+权值分块)
    【BZOJ2878】【NOI2012】—迷失游乐园(基环树期望dp)
    【2019省选模拟】—树(并查集+容斥)
    【BZOJ2120】—数颜色(带修莫队)
    【BZOJ3597】【SCOI2014】—方伯伯运椰子(分数规划)
    【BZOJ3598】【SCOI2014】方伯伯的商场之旅(数位dp)
  • 原文地址:https://www.cnblogs.com/wt0731/p/1337572.html
Copyright © 2011-2022 走看看