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 usage page for F# #4789

Open
roji opened this issue Aug 27, 2024 · 0 comments
Open

Add usage page for F# #4789

roji opened this issue Aug 27, 2024 · 0 comments
Milestone

Comments

@roji
Copy link
Member

roji commented Aug 27, 2024

Using EF from F# requires several specific patterns that differ from C#, and wouldn't be obvious to a beginner. We should age a page summarizing those things.

  • DbSet auto-initialization is not supported (because of how F# works) - people need to explicitly initialize their DbSet properties (see #34356).
  • Use EF.Parameter() for parameterization (see #12841)
  • Use the external EFCore.FSharp package, especially for migrations and scaffolding (see discussion)
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

1 participant