CollectionToJsonStringConverter<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 value converter that converts a .NET primitive collection into a JSON string.
public class CollectionToJsonStringConverter<TElement> : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter<System.Collections.Generic.IEnumerable<TElement>,string>
type CollectionToJsonStringConverter<'Element> = class
inherit ValueConverter<seq<'Element>, string>
Public Class CollectionToJsonStringConverter(Of TElement)
Inherits ValueConverter(Of IEnumerable(Of TElement), String)
Type Parameters
- TElement
- Inheritance
-
CollectionToJsonStringConverter<TElement>
Constructors
CollectionToJsonStringConverter<TElement>(JsonValueReaderWriter) |
Creates a new instance of this converter. |
Properties
ConvertFromProvider |
Gets the function to convert objects when reading data from the store, setup to handle nulls, boxing, and non-exact matches of simple types. (Inherited from ValueConverter<TModel,TProvider>) |
ConvertFromProviderExpression |
Gets the expression to convert objects when reading data from the store, exactly as supplied and may not handle nulls, boxing, and non-exact matches of simple types. (Inherited from ValueConverter<TModel,TProvider>) |
ConvertFromProviderTyped |
Gets the function to convert objects when reading data from the store. (Inherited from ValueConverter<TModel,TProvider>) |
ConvertsNulls |
If |
ConvertToProvider |
Gets the function to convert objects when writing data to the store, setup to handle nulls, boxing, and non-exact matches of simple types. (Inherited from ValueConverter<TModel,TProvider>) |
ConvertToProviderExpression |
Gets the expression to convert objects when writing data to the store, exactly as supplied and may not handle nulls, boxing, and non-exact matches of simple types. (Inherited from ValueConverter<TModel,TProvider>) |
ConvertToProviderTyped |
Gets the function to convert objects when writing data to the store. (Inherited from ValueConverter<TModel,TProvider>) |
JsonReaderWriter |
The reader/writer to use. |
MappingHints |
Hints that can be used by the ITypeMappingSource to create data types with appropriate facets for the converted data. (Inherited from ValueConverter) |
ModelClrType |
The CLR type used in the EF model. (Inherited from ValueConverter<TModel,TProvider>) |
ProviderClrType |
The CLR type used when reading and writing from the store. (Inherited from ValueConverter<TModel,TProvider>) |
Methods
ComposeWith(ValueConverter) |
Composes another ValueConverter instance with this one such that the result of the first conversion is used as the input to the second conversion. (Inherited from ValueConverter) |
Applies to
Entity Framework