Initial implementation of EfEntityWriter