RelationalPropertyExtensions.GetMappedStoreObjects 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳該屬性映射到的類表格儲存物件。
此方法通常由資料庫提供者(及其他擴充)使用。 它通常不被用於應用程式程式碼中。
[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
儲存物件的類型。
傳回
類表格的物件會將此屬性映射到。
- 屬性