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

Add missing content to user defined function mapping #2925

Open
maumar opened this issue Dec 2, 2020 · 1 comment
Open

Add missing content to user defined function mapping #2925

maumar opened this issue Dec 2, 2020 · 1 comment
Assignees
Milestone

Comments

@maumar
Copy link
Contributor

maumar commented Dec 2, 2020

  • The HasFunction overload which takes lambda with default params to register a function
  • DbFunctionAttribute and properties over that. (Document new IsBuiltIn API and property on DbFunctionAttribute #2476)
  • Specifying a schema or marking function as built-in
  • Mapping function return type or parameter to particular store type when not natively supported and scenario where it works.
  • argument propagates nullability API and link to the null semantics docs.
  • Ideally, we should put down the example of mapping to JSON function How to write DbFunction's translation? efcore#11295 (comment) Probably most used usecase for the UDF so far
  • Mention that TVF cannot use HasTranslation API
  • Few more cautions about HasTranslation API and need to understand the SQL expression tree.
@maumar maumar self-assigned this Dec 2, 2020
@maumar maumar added this to the 5.0.0 milestone Dec 2, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.0, 6.0.0 Dec 16, 2020
@maumar
Copy link
Contributor Author

maumar commented Dec 16, 2020

also add something about value converters how they use converter from the argument passed to the function (and that we just need to map it to the store type) - see dotnet/efcore#23498

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

No branches or pull requests

2 participants