dotnet / dotnet/EntityFramework.Docs

Missing doc about Primitive Collections

Open
#4,709 1 comment 0 reactions 1 assignee Assigned to @AndriySvyryd View on GitHub
area-primitive-collections area-query undocumented-feature
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

### Type of issue

Missing information

### Description

There is no documentation on how to use Primitive Collections beyond what is found [here](https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-8.0/whatsnew#primitive-collections). 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()
.PrimitiveCollection(e => e.Colors)
.ElementType()
.HasConversion()
.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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.