3 ms·
This assumes you want to use records for your data: records don't have inheritance. So whereas in C# you could create a UserDb that extends User with the Id/Da
by daxfohl 9y ago
This assumes you want to use records for your data: records don't have inheritance. So whereas in C# you could create a UserDb that extends User with the Id/DateAdded fields, in F# that's not idiomatic.
I am sure there could be a good way to automate this using type providers, but I haven't tried it yet.