OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity>.HasSchema 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置数据库函数的架构。
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity> HasSchema (string? schema);
override this.HasSchema : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableValuedFunctionBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function HasSchema (schema As String) As OwnedNavigationTableValuedFunctionBuilder(Of TOwnerEntity, TDependentEntity)
参数
- schema
- String
数据库中函数的架构。
返回
同一个生成器实例,以便可以链接多个配置调用。
注解
有关详细信息和示例 ,请参阅数据库函数 。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈