Freigeben über


DiscriminatorValueGeneratorFactory.Create Methode

Definition

Überlädt

Create(IProperty, IEntityType)

Erstellt einen neuen Wertgenerator.

Create(IProperty, ITypeBase)

Erstellt einen neuen Wertgenerator.

Create(IProperty, IEntityType)

Erstellt einen neuen Wertgenerator.

public override Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Create (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
override this.Create : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Overrides Function Create (property As IProperty, entityType As IEntityType) As ValueGenerator

Parameter

property
IProperty

Die Eigenschaft, für die der Wertgenerator erstellt werden soll.

entityType
IEntityType

Der Entitätstyp, für den der Wertgenerator verwendet wird.

Gibt zurück

Der neu erstellte Wertgenerator.

Gilt für:

Create(IProperty, ITypeBase)

Erstellt einen neuen Wertgenerator.

public override Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Create (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.ITypeBase entityType);
override this.Create : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Overrides Function Create (property As IProperty, entityType As ITypeBase) As ValueGenerator

Parameter

property
IProperty

Die Eigenschaft, für die der Wertgenerator erstellt werden soll.

entityType
ITypeBase

Gibt zurück

Der neu erstellte Wertgenerator.

Gilt für: