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

Fix for 11614 - Adding HasPrecision() APIs #20468

Merged
merged 2 commits into from
Mar 31, 2020
Merged

Conversation

lajones
Copy link
Contributor

@lajones lajones commented Mar 30, 2020

Fixes #11614.

Added HasPrecision(precision) and HasPrecision(precision, scale) to PropertyBuilder.
Updates to scaffolding and migrations and to process all facets for all TypeMappings in Scaffolding.
Updated tests to match.

@lajones lajones self-assigned this Mar 30, 2020
@lajones lajones changed the title Issue 11614 - Adding HasPrecision() APIs Fix for 11614 - Adding HasPrecision() APIs Mar 30, 2020
Now process all facets for all TypeMappings in Scaffolding.
Update format of datetime parameters to include the fractional seconds and update tests to match.
@lajones lajones merged commit 7b48952 into master Mar 31, 2020
@lajones lajones deleted the 20200329_Issue11614_14 branch March 31, 2020 05:59
@lajones
Copy link
Contributor Author

lajones commented Mar 31, 2020

Note: many thanks to @SARAVANA1501, in particular his pull request #18237. I used that to get started on this.

@Tommigun1980
Copy link

Any chance of adding this as an attribute also?

Thanks.

@AndriySvyryd
Copy link
Member

@Tommigun1980 See #17914

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

Successfully merging this pull request may close these issues.

Add HasPrecision() Fluent API
3 participants