コード例 #1
0
ファイル: SaferMatrix.cs プロジェクト: SubhoM/ReportApp
        public static List <SaferMatrixData> GetSaferMatrixData(SearchCorporateER search)
        {
            var result = new List <SaferMatrixData>();

            using (var dbmDbEntityContainer = new DBMEdition01_Entities())
            {
                result = dbmDbEntityContainer.GetSaferMatrixData(search.SelectedSiteIDs, search.ProgramIDs, search.SelectedStandardIDs,
                                                                 search.SelectedChapterIDs, search.SelectedEPIDs, int.Parse(search.ScoreType), search.StartDate,
                                                                 search.EndDate, search.MatrixID, search.IncludeFsa, search.MockSurveyStatusID, AppSession.CycleID).ToList();
            }

            return(result);
        }