Skip to content

Allow to configure properties on non-collection complex types by using chaining in the lambda expression #31236

Open

Description

This will allow to replace

modelBuilder.Entity<MyEntity>().ComplexProperty(e => e.Details).Property(d => d.Description);

with

modelBuilder.Entity<MyEntity>().Property(e => e.Details.Description);
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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions