Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set Column Description #7029

Closed
matthewDDennis opened this Issue Nov 16, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@matthewDDennis
Copy link

matthewDDennis commented Nov 16, 2016

I've read the docs, browsed the source and applied my Google and Bing Foo but can not determine
How to set the description on a SQL column using EF Core Code First.

Help!

@rowanmiller

This comment has been minimized.

Copy link
Member

rowanmiller commented Nov 16, 2016

There is no native API to do it. You would need to use the Sql(string) method in a migration to set the description.

@divega divega closed this Nov 18, 2016

@NArnott

This comment has been minimized.

Copy link

NArnott commented Mar 13, 2019

Is there any plans to implement this? My boss just mandated that we start applying a description to every column we create from now on, and we are heavily using EF Core. I'd much rather be able to use Data Annotations to generate these than manual Sql(string) calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.