add sessionfactory to ef
sessionfactory modified
add functions of ef, and linq to xml test!