c# - How to add EntityObject Generator in Visual Studio 2015? -


i have installed latest entity framework version (entityframework.6.1.3) in vs2015. have added ef in project , deleted 2 .tt files (edmx_file_name.tt , edmx_file_name.context.tt) dbcontext.

now trying add ef 6.x code generation template open model in ef designer, right-click on design surface , select add code generation item.

to add code generation in objectcontext need install ef 6.x entityobject generator. downloaded here.

but couldn't install in vs 2015.

how solve this?

since until now, no entityobject generator template supported in visual studio 2015, alter solution is, open solution visual studio 2013, open edmx diagram, right click, select "add code generation item", see "ef 6.x entityobject generator", if cannot see it, go "online" menu, , see "ef 6.x entityobject generator c#" display. select entityobject generator , click "add" button add data access layer project. tt auto generate entityobject classes you. save project, exit visual studio 2013. reopen solution visual studio 2015. done.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -