<p>How to implement Repository pattern withe LinqToEntities
how to implement the interface </p>

No, they aren't (or at least you can't assume they are). Having said that, there are some tricks to do this atomically, but they typically aren't portable (see
Compare-and-swap
).