void IEntitySet <TEntity> .DetachAll()
 {
     _entitySet.DetachAll();
     _data.Clear();
 }