IdValueGeneratorFactory Class

Definition

A factory that creates value generators for the 'id' property that combines the primary key values.

public class IdValueGeneratorFactory : Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorFactory
type IdValueGeneratorFactory = class
    inherit ValueGeneratorFactory
Public Class IdValueGeneratorFactory
Inherits ValueGeneratorFactory
Inheritance
IdValueGeneratorFactory

Remarks

See EF Core value generation, and Accessing Azure Cosmos DB with EF Core for more information and examples.

Constructors

IdValueGeneratorFactory()

Methods

Create(IProperty, IEntityType)

Creates a new value generator.

Create(IProperty, ITypeBase)

Creates a new value generator.

(Inherited from ValueGeneratorFactory)
Create(IProperty)
Obsolete.

Creates a new value generator.

(Inherited from ValueGeneratorFactory)

Applies to