repository pattern addition to works like DbContext API
merge + xmlbuilder fix