Skip to content

Jakob’s View of the World

Random Ramblings

Tag Archives: database

Using single case union types for entity IDs in F# and make it work with Dapper

In C# it is a common and popular pattern to use strongly typed entity IDs instead of using integers or the likes for IDs on your entities. Strongly typed entity IDs is a great help when trying to prevent you from mixing an Order ID with an OrderLine ID. Andrew Lock recently wrote a series …

Continue reading “Using single case union types for entity IDs in F# and make it work with Dapper”

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to print (Opens in new window)
Posted byJakobMay 12, 2019May 12, 2019Posted in.NET, F#, UncategorizedTags: Dapper, database, F#1 Comment on Using single case union types for entity IDs in F# and make it work with Dapper

Recent Posts

  • Impeachment in a functional way
  • Please don’t use headphones when working
  • Using single case union types for entity IDs in F# and make it work with Dapper
  • Close the Circle
  • Users are in for a bad experience with the Mojave app restrictions

Recent Comments

  • Wolfram Bernhardt on Using single case union types for entity IDs in F# and make it work with Dapper
  • Jakob on Setting up ASP.NET Core in Visual Studio 2017 with npm, webpack, and TypeScript: Part I
  • Jerry Neal on Setting up ASP.NET Core in Visual Studio 2017 with npm, webpack, and TypeScript: Part I
  • Manabu on Setting up ASP.NET Core in Visual Studio 2017 with npm, webpack, and TypeScript: Part II
  • Jakob on Setting up ASP.NET Core in Visual Studio 2017 with npm, webpack, and TypeScript: Part II

Archives

  • January 2020
  • June 2019
  • May 2019
  • March 2019
  • November 2018
  • March 2018
  • January 2018
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • August 2016

Categories

  • .NET
  • C#
  • Diabetes
  • F#
  • General
  • OS X
  • Programming
  • Swift
  • Tech
  • Uncategorized
  • Windows

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Links

My 500px profile profile for Jakob Christensen at Stack Overflow, Q&A for professional and enthusiast programmers
Jakob Christensen
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
Jakob’s View of the World, Proudly powered by WordPress.