-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Mixing Database Functions and Value Conversions #16617
Milestone
Comments
Triage: putting this on the backlog as a more specific case of #10434 |
47 tasks
For the original question posted in stackoverflow modelBuilder.HasDbFunction( typeof(MyDbContext).GetMethod(nameof(JsonValue)))
.HasName("JSON_VALUE")
.HasParameter("column")
.HasStoreType("nvarchar(max)") This will configure the store type for the parameter. It will pass the validation and also treat the value being used there as of type nvarchar on server. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to use database functions and value conversions together in the way described in this question https://stackoverflow.com/questions/56261258/mixing-ef-core-convensions-and-dbfunction-for-a-jobject-property or is this feature is planned for a future release ?
The text was updated successfully, but these errors were encountered: