Skip to content

scaffold db : add an option to prefix entities with schema name #23374

Closed as not planned

Description

currently, if we have table pig.price and cow.price in the same DB, scaffolding will generate class price and price1 which is very confusing.

Since the schema can not be merged due to the difference in permissions, can we have an option that prefix entities with schema names so that the generated class would be PigPrice and CowPrice?

I had tried to separate the context by schema but it would be bad if they start adding cat and dog or maybe elephant which is very likely that it gonna happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions