JsonCollectionOfStructsReaderWriter<TConcreteCollection,TElement> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.