4

I know that the EF6 VS Tools for Visual Studio 2012 come with a T4 template to generate DbContext classes which work with EF6.

But I want to have a generator which uses fluent API. The older version I used with EF4 and EF5 don't work with EF6 and the author no longer works on them to make them EF6 compatible.

Is anyone else working on a generator which uses Fluent API which works with EF6?

magicandre1981
  • 27,895
  • 5
  • 86
  • 127

1 Answers1

-2

http://visualstudiogallery.msdn.microsoft.com/72a60b14-1581-4b9b-89f2-846072eff19d

If you have a database you can use reverse code first it will generate all your fluent api mapping.

Casey Sebben
  • 677
  • 6
  • 14
  • this doesn't work. The ReverseEngineerCodeFirst files (Context.tt, Context.tt and mapping.tt) are still EF4/5. I can see this at the using statements. – magicandre1981 Nov 22 '13 at 08:52
  • You can still use the mappings just reverse code first in a separate project then drag your mappings over. Or wait for the EF team to update the tool. – Casey Sebben Nov 22 '13 at 13:23