Share via


RelationalScaffoldingModelFactory.VisitPrimaryKey Method

Definition

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

Parameters

table
TableModel

Returns

Applies to