public override void Initialize() { var exceptions = Execute(CommandText) .Select(o => DbException.CreateFrom(SqlHelper, o)) .ToArray(); m_ExceptionsById = exceptions.ToDictionary(x => x.ExceptionNumber); m_ExceptionsByName = exceptions.ToDictionary(x => x.ExceptionName); }