Exemplo n.º 1
0
 public MainWindowLogic(ResponseNiconico responseNiconico, SqlConnectionComment sql, CommandCheck check, MainWindowModel model)
 {
     this._responseNiconico = responseNiconico;
     this._sqlComment       = sql;
     this._cmdCheck         = check;
     this._model            = model;
 }
Exemplo n.º 2
0
        public void データベース接続()
        {
            SqlConnectionComment sql = new SqlConnectionComment();

            using (var con = sql.CreateConnection())
            {
                con.Open();
                TestContext.WriteLine(con.State);
                var result = sql.FindUserId(new SQLiteCommand(con), "97491199");

                Assert.IsTrue(result);
            }
        }