DiscriminatorValueGeneratorFactory Class

Definition

A factory that creates value generators for the discriminator property that always outputs the discriminator value for the given entity type.

public class DiscriminatorValueGeneratorFactory : Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorFactory
type DiscriminatorValueGeneratorFactory = class
    inherit ValueGeneratorFactory
Public Class DiscriminatorValueGeneratorFactory
Inherits ValueGeneratorFactory
Inheritance
DiscriminatorValueGeneratorFactory

Remarks

See EF Core value generation for more information and examples.

Constructors

DiscriminatorValueGeneratorFactory()

Methods

Create(IProperty, IEntityType)

Creates a new value generator.

Create(IProperty, IEntityType)

Creates a new value generator.

(Inherited from ValueGeneratorFactory)
Create(IProperty, ITypeBase)

Creates a new value generator.

Create(IProperty, ITypeBase)

Creates a new value generator.

(Inherited from ValueGeneratorFactory)
Create(IProperty)
Obsolete.

Creates a new value generator.

(Inherited from ValueGeneratorFactory)

Applies to