Skip to content

Add usage page for F# #4789

Open
Open

Description

@roji

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)

Activity

  1. added this to the Backlog milestone on Aug 27, 2024
  2. marked F# docs #5007 as a duplicate of this issue on Apr 16, 2025
  3. WillEhrendreich commented on Sep 17, 2025

    @WillEhrendreich

    this would be really great! :)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions