public void isFullInquiryForms()//Period period) { JobIndex jobIndex = null; using (var session = PMSSession.GetSession()) using (session.BeginTransaction()) { //var jiRep = new PMS.Persistence.NH.JobIndexRepository(new NHUnitOfWork(session)); var jiRep = new PMS.Persistence.NH.InquiryJobIndexPointRepository(new NHUnitOfWork(session)); var pRep = new PMS.Persistence.NH.PeriodRepository(new NHUnitOfWork(session)); var period = pRep.GetAll().First(); var has = jiRep.IsAllInquiryJobIndexPointsHasValue(period); //var id = jiRep.GetNextId(); //jobIndex = new JobIndex(id, period, getSharedJobIndex(),jiRep.GetJobIndexGroupById(new Domain.Model.JobIndices.AbstractJobIndexId(1)),true); //session.Save(jobIndex); session.Transaction.Commit(); } }