Udostępnij za pośrednictwem


RelationalScaffoldingModelFactory.VisitPrimaryKey Metoda

Definicja

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

Parametry

table
TableModel

Zwraca

Dotyczy