I have a relational table that stores key-value data in the below structure.
KEY VARCHAR(10)
Value-Text VARCHAR(50)
Value-Date DATETIME
Value NUMERIC
So for any given key, there will be only one Value column used. This is not a good design in first place. If I have to create a similar key-value pair in mongo where the value field have different data types, what is the best option ? How will it work with the C# driver ?