dotnet / EntityFramework.Docs

Documentation for Entity Framework Core and Entity Framework 6
https://docs.microsoft.com/ef/
Creative Commons Attribution 4.0 International
1.56k stars 1.94k forks source link

Missing doc about Primitive Collections #4709

Open OrihuelaConde opened 1 month ago

OrihuelaConde commented 1 month ago

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

roji commented 1 month ago

Thanks, yeah, we're behind on documentation...