Search Results for

    Show / Hide Table of Contents

    Class TimestampAttribute

    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.

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

    Normally serializer uses WriteObject<T>(String, T) for DateTime fields. This attribute changes the behavior to WriteTimestamp(String, Nullable<DateTime>).

    See also ForceTimestamp.

    Inheritance
    System.Object
    TimestampAttribute
    Namespace: Apache.Ignite.Core.Binary
    Assembly: Apache.Ignite.Core.dll
    Syntax
    public sealed class TimestampAttribute : Attribute
    In This Article
    Back to top © 2015 - 2019 The Apache Software Foundation