Sugar solutions on the surface of exposed dentine cause water to be drawn out of the dentinal tubules causing which distorts the odontoblast causing pain.
[医务英语]《专业术语—口腔生理学术语O2(英文详解)》正文: Osmotic pressure - Water tends to move towards dense concentrations of ions.
The odontoblasts have long processes, or arms, that lay within tiny tubules in the dentin - like an octopus sticking it's arms through a block of cement.
These pumps drive potassium from the blood into the cells and from there it flows down its concentration gradient into the tubule to be excreted as urine.