Skip to content

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

Open
@AndriySvyryd

Description

@AndriySvyryd

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);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions