AccessorExtensions.GetInfrastructure<T>(IInfrastructure<T>) Yöntem

Tanım

Kullanılarak gizlenen bir özellikten değeri alır IInfrastructure<T> .

Bu yöntem genellikle veritabanı sağlayıcıları (ve diğer uzantılar) tarafından kullanılır. Genellikle uygulama kodunda kullanılmaz.

IInfrastructure<T> , uygulama kodunda kullanılması amaçlanmayan ancak veritabanı sağlayıcıları tarafından yazılan genişletme yöntemlerinde kullanılabilen özellikleri gizlemek için kullanılır.

public static T GetInfrastructure<T> (this Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<T> accessor);
[System.Diagnostics.DebuggerStepThrough]
public static T GetInfrastructure<T> (this Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<T> accessor);
static member GetInfrastructure : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<'T> -> 'T
[<System.Diagnostics.DebuggerStepThrough>]
static member GetInfrastructure : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<'T> -> 'T
<Extension()>
Public Function GetInfrastructure(Of T) (accessor As IInfrastructure(Of T)) As T

Tür Parametreleri

T

Tarafından gizlenen özelliğin türü IInfrastructure<T> .

Parametreler

accessor
IInfrastructure<T>

Özelliği sunan nesne.

Döndürülenler

T

Özelliğe atanan nesne.

Öznitelikler

Şunlara uygulanır