GuidValueGenerator GuidValueGenerator Class

Definition

Generates System.Guid values using System.Guid.NewGuid. The generated values are non-temporary, meaning they will be saved to the database.

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

Properties

GeneratesTemporaryValues GeneratesTemporaryValues

Gets a value indicating whether the values generated are temporary or permanent. This implementation always returns false, meaning the generated values will be saved to the database.

Methods

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
Next(EntityEntry) Next(EntityEntry)

Gets a value to be assigned to a property.

Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>.NextAsync(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry, System.Threading.CancellationToken) Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>.NextAsync(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry, System.Threading.CancellationToken) Inherited from Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>
Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>.NextValue(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry) Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>.NextValue(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry) Inherited from Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>
Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>.NextValueAsync(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry, System.Threading.CancellationToken) Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>.NextValueAsync(Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry, System.Threading.CancellationToken) Inherited from Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
System.Object.ToString() System.Object.ToString() Inherited from System.Object