Apache Ignite.NET
Apache.Ignite.Core.Binary.TimestampAttribute Class Reference

Instructs the serializer to write DateTime fields and properties in Timestamp format, which is interoperable with other platforms and works in SQL, but does not allow non-UTC values. More...

Inheritance diagram for Apache.Ignite.Core.Binary.TimestampAttribute:

Detailed Description

When applied to a struct or a class, changes behavior for all fields and properties.

Normally serializer uses IBinaryWriter.WriteObject<T> for DateTime fields. This attribute changes the behavior to IBinaryWriter.WriteTimestamp.

See also BinaryReflectiveSerializer.ForceTimestamp.