Ability to use EFCore Scaffold-DbContext
using this package
#95
Labels
enhancement
New feature or request
Scaffold-DbContext
using this package
#95
Feature request
Is your feature request related to a problem? Please describe.
I'd like the ability to use EFCore's Scaffold-DbContext with this package, so that the entities that get created use the right attributes and can be used with the supabase client.
Describe the solution you'd like
A command such as:
completes successfully, and creates a class for each database table, which use the correct attributes (
[Table]
,[PrimaryKey]
,[Column]
, etc)Actual result:
Describe alternatives you've considered
I can run the scaffold command using the
Npgsql.EntityFrameworkCore.PostgreSQL
package, and it creates the right classes for me, but they have the wrong attributes and they don't inheritBaseModel
, which causes the supabase client to error if you try to use them. I would have to manually edit every class to have the right attributes and inheritance.Additional context
none
The text was updated successfully, but these errors were encountered: