Table of Contents

Class KafkaValueGeneratorSelector

Namespace
MASES.EntityFrameworkCore.KNet.ValueGeneration.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 KafkaValueGeneratorSelector : ValueGeneratorSelector, IValueGeneratorSelector
Inheritance
KafkaValueGeneratorSelector
Implements
Inherited Members

Remarks

Default initializer

Constructors

KafkaValueGeneratorSelector(ValueGeneratorSelectorDependencies, IKafkaDatabase)

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 KafkaValueGeneratorSelector(ValueGeneratorSelectorDependencies dependencies, IKafkaDatabase kafkaDatabase)

Parameters

dependencies ValueGeneratorSelectorDependencies
kafkaDatabase IKafkaDatabase

Remarks

Default initializer

Methods

Select(IProperty, ITypeBase)

Selects the appropriate value generator for a given property.

public override ValueGenerator Select(IProperty property, ITypeBase typeBase)

Parameters

property IProperty

The property to get the value generator for.

typeBase ITypeBase

The entity type that the value generator will be used for. When called on inherited properties on derived entity types, this entity type may be different from the declared entity type on property

Returns

ValueGenerator

The value generator to be used.