Partager via


RelationalScaffoldingModelFactory.VisitPrimaryKey Méthode

Définition

protected virtual Microsoft.EntityFrameworkCore.Metadata.Builders.KeyBuilder VisitPrimaryKey (Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder builder, Microsoft.EntityFrameworkCore.Scaffolding.Metadata.TableModel table);
abstract member VisitPrimaryKey : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * Microsoft.EntityFrameworkCore.Scaffolding.Metadata.TableModel -> Microsoft.EntityFrameworkCore.Metadata.Builders.KeyBuilder
override this.VisitPrimaryKey : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * Microsoft.EntityFrameworkCore.Scaffolding.Metadata.TableModel -> Microsoft.EntityFrameworkCore.Metadata.Builders.KeyBuilder
Protected Overridable Function VisitPrimaryKey (builder As EntityTypeBuilder, table As TableModel) As KeyBuilder

Paramètres

table
TableModel

Retours

S’applique à