Skip to content

How to set comment with ComplexProperty. #37587

@whyfate

Description

@whyfate

Question

builder.ComplexProperty(b => b.ExtraInfo, b => b.ToJson().IsRequired(false)).HasComment("extra info");

This code will set comments on the table.

EF Core version

10.0.0

Database provider

Microsoft.EntityFrameworkCore.SqlServer

Target framework

.NET 10.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions