Table of Contents

Class KafkaTypeMapping

Namespace
MASES.EntityFrameworkCore.KNet.Storage.Internal
Assembly
MASES.EntityFrameworkCore.KNet.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class KafkaTypeMapping : CoreTypeMapping
Inheritance
KafkaTypeMapping
Inherited Members

Constructors

KafkaTypeMapping(Type, ValueComparer?, ValueComparer?)

Default initializer

public KafkaTypeMapping(Type clrType, ValueComparer? comparer = null, ValueComparer? keyComparer = null)

Parameters

clrType Type
comparer ValueComparer
keyComparer ValueComparer

Methods

Clone(CoreTypeMappingParameters)

Creates a copy of this mapping.

protected override CoreTypeMapping Clone(CoreTypeMapping.CoreTypeMappingParameters parameters)

Parameters

parameters CoreTypeMapping.CoreTypeMappingParameters

The parameters for this mapping.

Returns

CoreTypeMapping

The newly created mapping.

WithComposedConverter(ValueConverter?, ValueComparer?, ValueComparer?, CoreTypeMapping?, JsonValueReaderWriter?)

Returns a new copy of this type mapping with the given ValueConverter added.

public override CoreTypeMapping WithComposedConverter(ValueConverter? converter, ValueComparer? comparer = null, ValueComparer? keyComparer = null, CoreTypeMapping? elementMapping = null, JsonValueReaderWriter? jsonValueReaderWriter = null)

Parameters

converter ValueConverter

The converter to use.

comparer ValueComparer

The comparer to use, or null for to keep the default.

keyComparer ValueComparer

The comparer to use when the value is a key, or null for to keep the default.

elementMapping CoreTypeMapping

The element mapping, or null for non-collection mappings.

jsonValueReaderWriter JsonValueReaderWriter

The JSON reader/writer, or null to leave unchanged.

Returns

CoreTypeMapping

A new type mapping