[jira] [Created] (IGNITE-4406) .NET: Control DateTime serialization via attribute

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4406) .NET: Control DateTime serialization via attribute

Anton Vinogradov (Jira)
Pavel Tupitsyn created IGNITE-4406:
--------------------------------------

             Summary: .NET: Control DateTime serialization via attribute
                 Key: IGNITE-4406
                 URL: https://issues.apache.org/jira/browse/IGNITE-4406
             Project: Ignite
          Issue Type: Improvement
          Components: platforms
            Reporter: Pavel Tupitsyn
            Priority: Minor
             Fix For: 1.9


.NET can write DateTime in internal format (preserves DateTime.Kind) and as Timestamp (does not allow non-UTC values).

By default we use internal format. To use Timestamp user has to mark field with QuerySqlField (non obvious), or override IBinarizable.

Provide a dedicated attribute to enforce timestamp mode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)