bit-badger / FSharp.EFCore.OptionConverter

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:F# 100.0%