SequentialGuidValueGenerator Class (Microsoft.EntityFrameworkCore.ValueGeneration)

[ad_1]


Definition




Generates sequential System.Guid values using the same algorithm as NEWSEQUENTIALID()
in Microsoft SQL Server. This is useful when entities are being saved to a database where sequential
GUIDs will provide a performance benefit. The generated values are non-temporary, meaning they will
be saved to the database.

public class SequentialGuidValueGenerator : ValueGenerator<Guid>

Public Class SequentialGuidValueGenerator
    Inherits ValueGenerator(Of Guid)





Inheritance

System.ObjectSystem.Object

SequentialGuidValueGeneratorSequentialGuidValueGenerator

Properties




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








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


Inherited from Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>








NextValue(EntityEntry)
NextValue(EntityEntry)


Inherited from Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>








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


Inherited from Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<System.Guid>








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


Inherited from System.Object








ToString()
ToString()


Inherited from System.Object









[ad_2]

source_link
https://www.asp.net