public MainWindowLogic(ResponseNiconico responseNiconico, SqlConnectionComment sql, CommandCheck check, MainWindowModel model) { this._responseNiconico = responseNiconico; this._sqlComment = sql; this._cmdCheck = check; this._model = model; }
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); } }