IValueGeneratorSelector IValueGeneratorSelector Interface

Selects value generators to be used to generate values for properties of entities.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Syntax

Declaration

public interface IValueGeneratorSelectorPublic Interface IValueGeneratorSelector

Methods summary

Selects the appropriate value generator for a given property.

Methods

  • Select(IProperty, IEntityType)
    Select(IProperty, IEntityType)

    Selects the appropriate value generator for a given property.

    ValueGenerator Select(IProperty property, IEntityType entityType)Function Select(property As IProperty, entityType As IEntityType) As ValueGenerator

    Parameters

    • property

      The property to get the value generator for.

    • entityType

      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

Details

Assembly

Microsoft.EntityFrameworkCore.dll