fix demo errors

use string not char for event code (sql char is just a fixed length
string). Add Contexts tag to web.config for EF tags