CoreTypeMapping.CoreTypeMappingParameters.WithComposedConverter Method
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.
Overloads
WithComposedConverter(ValueConverter) |
Creates a new CoreTypeMapping.CoreTypeMappingParameters parameter object with the given converter composed with any existing converter and set on the new parameter object. |
WithComposedConverter(ValueConverter, ValueComparer, ValueComparer, CoreTypeMapping, JsonValueReaderWriter) |
Creates a new CoreTypeMapping.CoreTypeMappingParameters parameter object with the given converter composed with any existing converter and set on the new parameter object. |
WithComposedConverter(ValueConverter)
Creates a new CoreTypeMapping.CoreTypeMappingParameters parameter object with the given converter composed with any existing converter and set on the new parameter object.
public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping.CoreTypeMappingParameters WithComposedConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter converter);
public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping.CoreTypeMappingParameters WithComposedConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? converter);
member this.WithComposedConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping.CoreTypeMappingParameters
Public Function WithComposedConverter (converter As ValueConverter) As CoreTypeMapping.CoreTypeMappingParameters
Parameters
- converter
- ValueConverter
The converter.
Returns
The new parameter object.
Applies to
WithComposedConverter(ValueConverter, ValueComparer, ValueComparer, CoreTypeMapping, JsonValueReaderWriter)
Creates a new CoreTypeMapping.CoreTypeMappingParameters parameter object with the given converter composed with any existing converter and set on the new parameter object.
public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping.CoreTypeMappingParameters WithComposedConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? converter, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? comparer, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? keyComparer, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? elementMapping, Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter? jsonValueReaderWriter);
member this.WithComposedConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping.CoreTypeMappingParameters
Public Function WithComposedConverter (converter As ValueConverter, comparer As ValueComparer, keyComparer As ValueComparer, elementMapping As CoreTypeMapping, jsonValueReaderWriter As JsonValueReaderWriter) As CoreTypeMapping.CoreTypeMappingParameters
Parameters
- converter
- ValueConverter
The converter.
- comparer
- ValueComparer
The comparer.
- keyComparer
- ValueComparer
The key comparer.
- elementMapping
- CoreTypeMapping
The element mapping, or null
for non-collection mappings.
- jsonValueReaderWriter
- JsonValueReaderWriter
The JSON reader/writer, or null
to leave unchanged.
Returns
The new parameter object.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for