TrackableEntities / EntityFrameworkCore.Scaffolding.Handlebars

Scaffold EF Core models using Handlebars templates.
MIT License
208 stars 53 forks source link

[QUESTION / DISCUSSION] #128

Closed jryutzy closed 4 years ago

jryutzy commented 4 years ago

dotnet ef dbcontext scaffold "Server=localhost;Database=Demo;Persist Security Info=False;User ID=sa;Password=removed" Microsoft.EntityFrameworkCore.SqlServer --schema App --output-dir zGenerated_Code_dncli --force

trying to add customization to templates but getting this error when trying to add anything image

image

image

ideally trying to get this to work image

tonysneed commented 4 years ago

Thanks for your question. Support for EF Core 5.x has not yet been added to Handlebars Scaffolding. You need to use a released (non-preview or beta) version of Microsoft.EntityFrameworkCore packages.

jryutzy commented 4 years ago

Thanks Tony. Do you know when we might expect it? --no-onconfiguring, --namespace and --context-namespace are a few features in EF 5 I've been using.

tonysneed commented 4 years ago

I would like to get this done before the end of July. Tracking the issue with #129.