Udostępnij za pośrednictwem


ContextParameterBinding Konstruktory

Definicja

Przeciążenia

ContextParameterBinding(Type, IPropertyBase)

Tworzy nowe ServiceParameterBinding wystąpienie dla danego typu usługi.

ContextParameterBinding(Type, IPropertyBase[])

Tworzy nowe ServiceParameterBinding wystąpienie dla danego typu usługi.

ContextParameterBinding(Type, IPropertyBase)

Tworzy nowe ServiceParameterBinding wystąpienie dla danego typu usługi.

public ContextParameterBinding (Type contextType, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase serviceProperty = default);
new Microsoft.EntityFrameworkCore.Metadata.ContextParameterBinding : Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.ContextParameterBinding
Public Sub New (contextType As Type, Optional serviceProperty As IPropertyBase = Nothing)

Parametry

contextType
Type

Typ DbContext CLR.

serviceProperty
IPropertyBase

Skojarzona wartość IServiceProperty, lub null.

Dotyczy

ContextParameterBinding(Type, IPropertyBase[])

Tworzy nowe ServiceParameterBinding wystąpienie dla danego typu usługi.

public ContextParameterBinding (Type contextType, params Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[]? serviceProperties);
new Microsoft.EntityFrameworkCore.Metadata.ContextParameterBinding : Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[] -> Microsoft.EntityFrameworkCore.Metadata.ContextParameterBinding
Public Sub New (contextType As Type, ParamArray serviceProperties As IPropertyBase())

Parametry

contextType
Type

Typ DbContext CLR.

serviceProperties
IPropertyBase[]

Skojarzone IServiceProperty obiekty lub null.

Dotyczy