Where? It says "necromancy," not "talking to the dead for any purpose".
Was Jesus sinning at the Transfiguration?
And you are purposefully twisting Matthew 22:32 to meet your agenda.
And you're ignoring it to meet yours.
Okay you want to get hung up on a definition to somehow justify talking to the dead.
Webster:
necromancy: conjuration of the spirits of the dead for purposes of magically revealing the future or influencing the course of events.
Encarta:
necromancy: 1. prediction using spirits: the practice of attempting to communicate with the spirits of the dead in order to predict or influence the future.
“INFLUENCING THE COURSE OF EVENTS.” What do you think you are trying to do with a prayer? You are asking for something from the dead (intercession/mediation), and trying to influence the course of events.