Otis wrote:
We've fixed it, please see the 5.7.4 hotfix build we've just uploaded under my account -> 5.7 -> 5.7.4 Hotfix builds
If you're using a trial version, please open Template bindings Viewer (Tools -> Template Bindings Viewer) then select Entity Framework 6 for 'Framework', for the template bindings name select 'SD.EntityFramework.v6', and then double click the SD-EF_CodeFirst_ModelBuilder entry in the template bindings.
In the template editor at line 33, replace the modelBuilder.HasDefaultSchema("<%=defaultSchema%>");
with
<% if(_executingGenerator.DriverID!="758A392F-06F3-498b-AED9-D85A4C795BDA")
{
%> modelBuilder.HasDefaultSchema("<%=defaultSchema%>");
<% }
Press shift-ctrl-s to save it then generate code again.
I have download 5.7.4 hotfix. After that i uninstall llblgenpro 5.7.2 and then install 5.7.4 hotfix.
After double click on SD-EF_CodeFirst_ModelBuilder entry in the template bindings, on line 33, the code is just the same as your directions.
<% if(_executingGenerator.DriverID!="758A392F-06F3-498b-AED9-D85A4C795BDA")
{
%> modelBuilder.HasDefaultSchema("<%=defaultSchema%>");
<% }
So i did not change anything there. I just close the template editor, validate (F6) without error, and then F7 to generate the source code.
I run the project and still the exception is there "default.produk doesn't exist"