I was checking the official documentation for possible converters of the DateTime data type and was wondering what's the difference between .HasConversion<long>() and .HasConversion<DateTimeToTicksConverter>(), since both are stored as "long" 64 bit integer in the database.
The documentation for .HasConversion<long>() says:
Encoded date/time preserving DateTime.Kind
And the documentation for .HasConversion<DateTimeToTicksConverter>() just says one word:
Ticks
Can someone please clarify the difference between those two conversions?