Share via


AccessorExtensions.GetInfrastructure<T> Yöntem

Tanım

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

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

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 IInfrastructure<T>gizlenen özelliğin türü.

Parametreler

accessor
IInfrastructure<T>

özelliğini kullanıma sunan nesne.

Döndürülenler

T

özelliğine atanan nesne.

Öznitelikler

Açıklamalar

IInfrastructure<T> uygulama kodunda kullanılmak üzere tasarlanmamış ancak veritabanı sağlayıcıları tarafından yazılan uzantı yöntemlerinde kullanılabilen özellikleri gizlemek için kullanılır.

Şunlara uygulanır