Fauna csharp driver  4.2.0
FaunaDB.Types.FaunaTime Class Reference

Instruct the encoder that this DateTime property should always be converted to Types.TimeV More...

Inheritance diagram for FaunaDB.Types.FaunaTime:

Detailed Description

Instruct the encoder that this DateTime property should always be converted to Types.TimeV

class User { [FaunaTime] public DateTime TimeSignedUp { get; set; } }

var user = new User { TimeSignedUp = DateTime.Now };

var encoded = Encoder.Encode(user);

Definition at line 93 of file Attributes.cs.


The documentation for this class was generated from the following file: