Table of Contents

Class KEFCoreValueGeneratorSelector

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 KEFCoreValueGeneratorSelector : ValueGeneratorSelector, IValueGeneratorSelector
Inheritance
KEFCoreValueGeneratorSelector
Implements
Inherited Members

Remarks

Default initializer

Constructors

KEFCoreValueGeneratorSelector(ValueGeneratorSelectorDependencies)

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 KEFCoreValueGeneratorSelector(ValueGeneratorSelectorDependencies dependencies)

Parameters

dependencies ValueGeneratorSelectorDependencies

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.