fixed some trouble concerning mixed transaction-scopes and EF
removed some code-duplication
console programm using EF repo