예제 #1
0
        public void Effort_NetworkLog_GetByPrimaryKey_Test()
        {
            long           _id  = _incidentLogId;
            NetworkLogData _row = _sut.GetByPrimaryKey(_id);

            Assert.IsNotNull(_row);
            Assert.AreEqual(_row.NetworkLogId, _id);
            System.Diagnostics.Debug.WriteLine(_row.ToString());
        }
        public void WebSrv_NI_NetworkLog_GetByPrimaryKey_Test()
        {
            long             _id  = 39;
            NetworkLogAccess _sut = new NetworkLogAccess(_niEntities);
            NetworkLogData   _row = _sut.GetByPrimaryKey(_id);

            Assert.IsNotNull(_row);
            Assert.AreEqual(_row.NetworkLogId, _id);
            System.Diagnostics.Debug.WriteLine(_row.ToString());
        }