JsonCollectionReaderWriter<TCollection,TConcreteCollection,TElement> Class
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.
A JsonValueReaderWriter<TValue> for collections of primitive elements that are a not Nullable.
public class JsonCollectionReaderWriter<TCollection,TConcreteCollection,TElement> : Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter<System.Collections.Generic.IEnumerable<TElement>>, Microsoft.EntityFrameworkCore.Storage.Internal.ICompositeJsonValueReaderWriter where TCollection : IEnumerable<TElement>
type JsonCollectionReaderWriter<#seq<'Element>, 'ConcreteCollection, 'Element> = class
inherit JsonValueReaderWriter<seq<'Element>>
interface ICompositeJsonValueReaderWriter
Public Class JsonCollectionReaderWriter(Of TCollection, TConcreteCollection, TElement)
Inherits JsonValueReaderWriter(Of IEnumerable(Of TElement))
Implements ICompositeJsonValueReaderWriter
Type Parameters
- TCollection
The collection type.
- TConcreteCollection
The collection type to create an index of, if needed.
- TElement
The element type.
- Inheritance
-
JsonValueReaderWriter<IEnumerable<TElement>>JsonCollectionReaderWriter<TCollection,TConcreteCollection,TElement>
- Implements
-
Microsoft.EntityFrameworkCore.Storage.Internal.ICompositeJsonValueReaderWriter
Constructors
JsonCollectionReaderWriter<TCollection,TConcreteCollection,TElement>(JsonValueReaderWriter<TElement>) |
Creates a new instance of this collection reader/writer, using the given reader/writer for its elements. |
Properties
ConstructorExpression |
The expression representing construction of this object. (Inherited from JsonValueReaderWriter) |
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) |
Reads the value from JSON. |
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, IEnumerable<TElement>) | System.Object.ToJsonTyped(System.Text.Json.Utf8JsonWriter,System.Collections.Generic.IEnumerable{`2}) |
ToJsonTyped(Utf8JsonWriter, TValue) |
Writes the value to JSON. (Inherited from JsonValueReaderWriter<TValue>) |
Explicit Interface Implementations
ICompositeJsonValueReaderWriter.InnerReaderWriter |
Applies to
Entity Framework