示例#1
0
        public void QueryTest()
        {
            var server = Utility.LoadServers("TestData/servers.yml")["mssql"];
            var db     = Utility.LoadDataBase("TestData/mssql.yml");

            var sql   = new MsSql(server, false);
            var res   = sql.Connect();
            var query = sql.Query(db);

            _output.WriteLine(query);
            Assert.False(string.IsNullOrWhiteSpace(query));
        }