コード例 #1
0
        public EPIDetailsResult GetEPIDetails(int installationNo)
        {
            EPIDetailsResult epiDetailsResult = null;

            try
            {
                using (ExCommsSQLDataAccess DataContext = this.GetDataContext())
                {
                    epiDetailsResult = DataContext.GetEPIDetails(installationNo).FirstOrDefault();
                }
                return(epiDetailsResult);
            }
            catch (Exception ex)
            {
                Log.Exception(ex);
                return(new EPIDetailsResult());
            }
        }