语言

RelationalPropertyExtensions.GetMappedStoreObjects 方法

定义

返回此属性映射到的类似表的存储对象。

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

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.RelationalPropertyExtensions+<GetMappedStoreObjects>d__107))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier> GetMappedStoreObjects(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.RelationalPropertyExtensions+<GetMappedStoreObjects>d__106))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier> GetMappedStoreObjects(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.RelationalPropertyExtensions+<GetMappedStoreObjects>d__107))>]
static member GetMappedStoreObjects : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.RelationalPropertyExtensions+<GetMappedStoreObjects>d__106))>]
static member GetMappedStoreObjects : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier>
<Extension()>
Public Iterator Function GetMappedStoreObjects (property As IReadOnlyProperty, storeObjectType As StoreObjectType) As IEnumerable(Of StoreObjectIdentifier)

参数

property
IReadOnlyProperty

属性。

storeObjectType
StoreObjectType

存储对象的类型。

返回

此属性映射到的类似表的存储对象。

特性

适用于