RelationalScaffoldingModelFactory.VisitPrimaryKey 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
参数
- builder
- EntityTypeBuilder
- table
- TableModel