DiscriminatorValueGenerator DiscriminatorValueGenerator Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class DiscriminatorValueGenerator : ValueGeneratorPublic Class DiscriminatorValueGenerator
    Inherits ValueGenerator

Inheritance Hierarchy

Inherited Members

Next(EntityEntry),
Next(EntityEntry),
NextAsync(EntityEntry, CancellationToken),
NextAsync(EntityEntry, CancellationToken),
NextValueAsync(EntityEntry, CancellationToken),
NextValueAsync(EntityEntry, CancellationToken),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • DiscriminatorValueGenerator(Object)
    DiscriminatorValueGenerator(Object)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public DiscriminatorValueGenerator(object discriminator)Public Sub New(discriminator As Object)

    Parameters

    • discriminator
      System.Object
      System.Object

Properties

  • GeneratesTemporaryValues
    GeneratesTemporaryValues

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override bool GeneratesTemporaryValues { get; }Public Overrides ReadOnly Property GeneratesTemporaryValues As Boolean

    Property Value

    • System.Boolean
      System.Boolean

Methods

  • NextValue(EntityEntry)
    NextValue(EntityEntry)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    protected override object NextValue(EntityEntry entry)Protected Overrides Function NextValue(entry As EntityEntry) As Object

    Parameters

    Returns

    • System.Object
      System.Object

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll