DiscriminatorValueGenerator DiscriminatorValueGenerator Class

Definition

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 class DiscriminatorValueGenerator : ValueGenerator
Public Class DiscriminatorValueGenerator
    Inherits ValueGenerator
Inheritance
System.ObjectSystem.Object
DiscriminatorValueGeneratorDiscriminatorValueGenerator

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
Value
System.Boolean System.Boolean
Overrides

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

Next(EntityEntry) Next(EntityEntry)

Gets a value to be assigned to a property.

(Inherited from ValueGenerator)

NextAsync(EntityEntry, CancellationToken) NextAsync(EntityEntry, CancellationToken)

Gets a value to be assigned to a property.

(Inherited from ValueGenerator)

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
Overrides

NextValueAsync(EntityEntry, CancellationToken) NextValueAsync(EntityEntry, CancellationToken)

Template method to be overridden by implementations to perform value generation.

(Inherited from ValueGenerator)

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object