Skip to content

Missing doc about Primitive Collections #4709

@OrihuelaConde

Description

@OrihuelaConde

Type of issue

Missing information

Description

There is no documentation on how to use Primitive Collections beyond what is found here. For example, it lacks details on how to use Fluent API with Primitive Collections, such as how to utilize different value converters instead of the default one.

builder.Entity<Flower>()
       .PrimitiveCollection(e => e.Colors)
       .ElementType()
       .HasConversion<string>()
       .HasMaxLength(255);

Page URL

https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-8.0/whatsnew#primitive-collections

Content source URL

https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/what-is-new/ef-core-8.0/whatsnew.md

Document Version Independent Id

97203c5d-fe52-b71e-dcb3-71c9492b4e04

Article author

@ajcvickers

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions