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
Тип объекта store.
Возвращаемое значение
Объекты, такие как таблица, с которым сопоставляется это свойство.
- Атрибуты