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

Keep ColumnType up-to-date while model is being built #8624

Open
Tracked by #22953 ...
ajcvickers opened this issue May 27, 2017 · 2 comments
Open
Tracked by #22953 ...

Keep ColumnType up-to-date while model is being built #8624

ajcvickers opened this issue May 27, 2017 · 2 comments

Comments

@ajcvickers
Copy link
Member

In #8605, RelationalTypeMapping objects are bound to properties as part of the final model building step before the model is used by the runtime. This means that ColumnType is not available in OnModelCreating. We could instead keep it updated as the model is being built by implementing conventions that know when a property is added, or when any facet of that property changes that might impact the mapping. This is a lot of conventions, not all of which we have.

@ajcvickers
Copy link
Member Author

If we do this, then we will do it as part of the read-only model--see #8258.

@AndriySvyryd
Copy link
Member

Or as a default value convention #9329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants