/// <summary> /// Get import file rows /// </summary> public static List<ImportFileRowInstance> GetImportFileRows(int ImportFileId) { using (BrightPlatformEntities m_objBrightPlatformEntity = new BrightPlatformEntities(UserSession.EntityConnection) { CommandTimeout = 0 }) { var objImportFileRows = from objImportFileRow in m_objBrightPlatformEntity.FIGetImportFileRowItems(ImportFileId) select new ImportFileRowInstance { row_order = objImportFileRow.row_order, row_value = objImportFileRow.row_values }; return objImportFileRows.ToList<ImportFileRowInstance>(); } }