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

    为成功找方法,不为失败找借口!
  • 相关阅读:
    HDU 1203 【01背包/小数/概率DP】
    HDU 2955 【01背包/小数/概率DP】
    2018 计蒜之道 初赛 第三场
    判断一个多边形是顺时针还是逆时针的方法
    牛客网练习赛18 A 【数论/整数划分得到乘积最大/快速乘】
    Codeforces Round #311 (Div. 2)
    暑期训练狂刷系列——Hdu 3506 Largest Rectangle in a Histogram (单调栈)
    暑期训练狂刷系列——poj 3468 A Simple Problem with Integers (线段树+区间更新)
    暑期训练狂刷系列——Foj 1894 志愿者选拔 (单调队列)
    暑期训练狂刷系列——poj 3264 Balanced Lineup(线段树)
  • 原文地址:https://www.cnblogs.com/wt0731/p/1337572.html
Copyright © 2011-2022 走看看