共用方式為


JsonCollectionOfStructsReaderWriter<TConcreteCollection,TElement> Constructor

Definition

Creates a new instance of this collection reader/writer, using the given reader/writer for its elements.

public JsonCollectionOfStructsReaderWriter (Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<TElement> elementReaderWriter);
new Microsoft.EntityFrameworkCore.Storage.Json.JsonCollectionOfStructsReaderWriter<'ConcreteCollection, 'Element (requires 'Element : struct)> : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<'Element (requires 'Element : struct)> -> Microsoft.EntityFrameworkCore.Storage.Json.JsonCollectionOfStructsReaderWriter<'ConcreteCollection, 'Element (requires 'Element : struct)>
Public Sub New (elementReaderWriter As JsonValueReaderWriter(Of TElement))

Parameters

elementReaderWriter
JsonValueReaderWriter<TElement>

The reader/writer to use for each element.

Applies to