Class KafkaTypeMappingSource
- 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 KafkaTypeMappingSource : TypeMappingSource, ITypeMappingSource
- Inheritance
-
KafkaTypeMappingSource
- Implements
- Inherited Members
Remarks
Default initializer
Constructors
KafkaTypeMappingSource(TypeMappingSourceDependencies)
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 KafkaTypeMappingSource(TypeMappingSourceDependencies dependencies)
Parameters
dependencies
TypeMappingSourceDependencies
Remarks
Default initializer
Methods
FindMapping(in TypeMappingInfo)
Overridden by database providers to find a type mapping for the given info.
protected override CoreTypeMapping? FindMapping(in TypeMappingInfo mappingInfo)
Parameters
mappingInfo
TypeMappingInfoThe mapping info to use to create the mapping.
Returns
- CoreTypeMapping
The type mapping, or null if none could be found.
Remarks
The mapping info is populated with as much information about the required type mapping as is available. Use all the information necessary to create the best mapping. Return null if no mapping is available.