Beispiel #1
0
        public GameLog GetGameLog(int gameID)
        {
            GamelogsEntity logEntity = db.GetGameLog(gameID);
            GameLog        gameLog   = new GameLog(logEntity.GameLogSerial);

            return(gameLog);
        }
Beispiel #2
0
        public void getGameLog()
        {
            Assert.IsTrue(db.AddGameLog(1, "abcd"));
            GamelogsEntity gl = db.GetGameLog(1);

            Assert.IsTrue(gl.GameLogSerial.Equals("abcd"));
            Assert.IsTrue(db.DeleteGameLog(1));
        }