Partager via


SqliteJsonDateTimeReaderWriter Class

Definition

The Sqlite-specific JsonValueReaderWrite for DateTime. Generates a ISO8601 string representation with a space instead of a T separating the date and time components, in order to match our SQLite non-JSON representation.

public sealed class SqliteJsonDateTimeReaderWriter : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<DateTime>
type SqliteJsonDateTimeReaderWriter = class
    inherit JsonValueReaderWriter<DateTime>
Public NotInheritable Class SqliteJsonDateTimeReaderWriter
Inherits JsonValueReaderWriter(Of DateTime)
Inheritance

Remarks

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Properties

ConstructorExpression

The expression representing construction of this object.

ConstructorExpression

The expression representing construction of this object.

(Inherited from JsonValueReaderWriter)
Instance

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

ValueType

The type of the value being read/written.

(Inherited from JsonValueReaderWriter<TValue>)

Methods

FromJson(Utf8JsonReaderManager, Object)

Reads the value from a UTF8 JSON stream or buffer.

(Inherited from JsonValueReaderWriter<TValue>)
FromJsonString(String, Object)

Reads the value from JSON in a string.

(Inherited from JsonValueReaderWriter)
FromJsonTyped(Utf8JsonReaderManager, Object)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

ToJson(Utf8JsonWriter, Object)

Writes the value to JSON.

(Inherited from JsonValueReaderWriter<TValue>)
ToJsonString(Object)

Writes the value to a JSON string.

(Inherited from JsonValueReaderWriter)
ToJsonTyped(Utf8JsonWriter, DateTime)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

ToJsonTyped(Utf8JsonWriter, TValue)

Writes the value to JSON.

(Inherited from JsonValueReaderWriter<TValue>)

Applies to