Skip to content

A value converter that maps nullable database columns to F# option fields/properties

License

Notifications You must be signed in to change notification settings

bit-badger/FSharp.EFCore.OptionConverter

Repository files navigation

NOTE (April 2024)

To the best of my knowledge, this is still a valid project. I do not believe EF Core has changed their OptionConverter interface since it was released. If this library needs attention, please open an issue!

FSharp.EFCore.OptionConverter

A value converter that maps nullable database columns to F# option fields/properties

Build status NuGet

This is a NuGet package of the code described in a recent blog post, which provides for mapping nullable database columns to F# options in the entity's fields or properties.

The blog post describes how to set it all up; the test project here demonstrates it (along with SQL to ensure that the results are what they should be).

About

A value converter that maps nullable database columns to F# option fields/properties

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages