语言

OwnedNavigationSplitViewBuilder 类

定义

使用 ModelBuilder API 时,此类的实例会从方法返回,并且不会在应用程序代码中直接构造此类实例。

[System.Runtime.CompilerServices.Nullable(0)]
public class OwnedNavigationSplitViewBuilder : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder>
public class OwnedNavigationSplitViewBuilder : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder>
[<System.Runtime.CompilerServices.Nullable(0)>]
type OwnedNavigationSplitViewBuilder = class
    interface IInfrastructure<OwnedNavigationBuilder>
type OwnedNavigationSplitViewBuilder = class
    interface IInfrastructure<OwnedNavigationBuilder>
Public Class OwnedNavigationSplitViewBuilder
Implements IInfrastructure(Of OwnedNavigationBuilder)
继承
OwnedNavigationSplitViewBuilder
派生
特性
实现

构造函数

名称 说明
OwnedNavigationSplitViewBuilder(StoreObjectIdentifier, OwnedNavigationBuilder)

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

属性

名称 说明
MappingFragment

正在配置的映射片段。

Name

指定的视图名称。

Schema

指定的视图架构。

方法

名称 说明
HasAnnotation(String, Object)

添加或更新视图上的批注。 如果已存在具有指定 annotation 键的批注,则会更新其值。

Property(String)

将属性映射到当前视图上的列,并返回一个对象,当属性映射到多个视图时,该对象可用于提供特定于视图的配置。

Property<TProperty>(String)

将属性映射到当前视图上的列,并返回一个对象,当属性映射到多个视图时,该对象可用于提供特定于视图的配置。

显式接口实现

名称 说明
IInfrastructure<OwnedNavigationBuilder>.Instance

使用 ModelBuilder API 时,此类的实例会从方法返回,并且不会在应用程序代码中直接构造此类实例。

扩展方法

名称 说明
GetInfrastructure<T>(IInfrastructure<T>)

从正在使用的隐藏 IInfrastructure<T>属性中获取值。

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

适用于