public void IncidentNoteTestInitialize()
 {
     //
     _niEntities = WebSrv_Tests.Effort_Helper.GetEffortEntity(_entityConnStr, _fullPath);
     _sut        = new IncidentNoteAccess(_niEntities);
     //
 }
        public void WebSrv_NI_IncidentNote_GetByPrimaryKey_Test()
        {
            long _id = 2;
            IncidentNoteAccess _sut = new IncidentNoteAccess(_niEntities);
            IncidentNoteData   _row = _sut.GetByPrimaryKey(_id);

            Assert.IsNotNull(_row);
            Assert.AreEqual(_row.IncidentNoteId, _id);
            System.Diagnostics.Debug.WriteLine(_row.ToString());
        }
        public void WebSrv_NI_IncidentNote_ListByIncident_Test()
        {
            long _id = 1;
            IncidentNoteAccess      _sut  = new IncidentNoteAccess(_niEntities);
            List <IncidentNoteData> _data = _sut.ListByIncident(_id);

            Assert.IsTrue(_data.Count > 0);
            foreach (var _row in _data)
            {
                System.Diagnostics.Debug.WriteLine(_row.ToString());
            }
        }