public void TestPropsRetrieve() { EventSQLDB db = new EventSQLDB(dataSource); EventProps props = (EventProps)db.Retrieve(2); Assert.AreEqual(props.ID, 2); Console.WriteLine(props.GetState()); }
public void TestResetDatabase() { EventSQLDB db = new EventSQLDB(dataSource); DBCommand command = new DBCommand(); command.CommandText = "usp_testingResetData"; command.CommandType = CommandType.StoredProcedure; db.RunNonQueryProcedure(command); }