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.

public interface IValueGeneratorSelector
Public Interface IValueGeneratorSelector


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
IProperty IProperty

The property to get the value generator for.

IEntityType IEntityType

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


The value generator to be used.