Skip to content

Feature EnableSchemaFolders creates entities with missing namespaces #134

@audacity76

Description

@audacity76

If schema folders are enabled, the generated InversePropertyAttribute of the navigation properties (which use nameof) fail to find entities from different schemas / namespaces. Also, the DbContext namespaces aren't correct. It is missing the base namespace. The generated namespace looks like:
using Schema = .Schema;

DbContext and Entities need to declare all referenced schemas like:
using Schema = Base.Namespace.Schema;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions