Bagikan melalui


ContextParameterBinding Konstruktor

Definisi

Overload

ContextParameterBinding(Type, IPropertyBase)

Membuat instans baru ServiceParameterBinding untuk jenis layanan yang diberikan.

ContextParameterBinding(Type, IPropertyBase[])

Membuat instans baru ServiceParameterBinding untuk jenis layanan yang diberikan.

ContextParameterBinding(Type, IPropertyBase)

Membuat instans baru ServiceParameterBinding untuk jenis layanan yang diberikan.

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)

Parameter

contextType
Type

Jenis DbContext CLR.

serviceProperty
IPropertyBase

Yang terkait IServiceProperty, atau null.

Berlaku untuk

ContextParameterBinding(Type, IPropertyBase[])

Membuat instans baru ServiceParameterBinding untuk jenis layanan yang diberikan.

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

Parameter

contextType
Type

Jenis DbContext CLR.

serviceProperties
IPropertyBase[]

Objek terkait IServiceProperty , atau null.

Berlaku untuk