/// <summary> /// Get a node notification. /// </summary> public ComplexNotification GetNotification(string id) { try { ComplexNotification notification = DoSimpleQueryForObjectDelegate <ComplexNotification>( TABLE_NAME, "Id", id, "NotifyData", delegate(IDataReader reader, int rowNum) { return(_serializationHelper.DeserializeFromBase64String <ComplexNotification>(reader.GetString(0), null)); }); return(notification); } catch (Spring.Dao.IncorrectResultSizeDataAccessException) { return(null); // Not found } }