Język

RelationalPropertyExtensions.GetMappedStoreObjects Metoda

Definicja

Zwraca obiekty magazynu przypominające tabelę, do których jest mapowana ta właściwość.

Ta metoda jest zwykle używana przez dostawców baz danych (i innych rozszerzeń). Zwykle nie jest używany w kodzie aplikacji.

[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)

Parametry

property
IReadOnlyProperty

Właściwość.

storeObjectType
StoreObjectType

Typ obiektu magazynu.

Zwraca

Obiekty podobne do tabeli, do których jest mapowana ta właściwość.

Atrybuty

Dotyczy