TemporaryGuidValueGenerator TemporaryGuidValueGenerator Class

Definition

Generates System.Guid values using System.Guid.NewGuid. The generated values are temporary, meaning they will be replaced by database generated values when the entity is saved.

public class TemporaryGuidValueGenerator : GuidValueGenerator
Public Class TemporaryGuidValueGenerator
    Inherits GuidValueGenerator
Inheritance
System.ObjectSystem.Object
ValueGenerator<System.Guid>ValueGenerator(Of System.Guid)
TemporaryGuidValueGeneratorTemporaryGuidValueGenerator

Inherited Members

Microsoft.EntityFrameworkCore.ValueGeneration.GuidValueGenerator

Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator{System.Guid}

NextAsync(EntityEntry, System.Threading.CancellationToken)NextAsync(EntityEntry, System.Threading.CancellationToken)
NextValueAsync(EntityEntry, System.Threading.CancellationToken)NextValueAsync(EntityEntry, System.Threading.CancellationToken)

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Properties

GeneratesTemporaryValues GeneratesTemporaryValues

Gets a value indicating whether the values generated are temporary or permanent. This implementation always returns true, meaning the generated values will be replaced by database generated values when the entity is saved

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