EntityTypeParameterBinding 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
描述 的系結,此系結 IEntityType 可能或可能不也具有 和 相關聯的 IServiceProperty ,與建構函式、Factory 方法或類似的 參數相關聯。
public class EntityTypeParameterBinding : Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding
type EntityTypeParameterBinding = class
inherit ServiceParameterBinding
Public Class EntityTypeParameterBinding
Inherits ServiceParameterBinding
- 繼承
備註
如需詳細資訊和範例 ,請參閱具有建構函式的實體類型 。
建構函式
EntityTypeParameterBinding(IPropertyBase) |
為指定的服務類型建立新的 EntityTypeParameterBinding 實例。 |
EntityTypeParameterBinding(IPropertyBase[]) |
為指定的服務類型建立新的 EntityTypeParameterBinding 實例。 |
屬性
ConsumedProperties |
這個系結所處理的屬性,因此不需要以其他方式設定。 (繼承來源 ParameterBinding) |
ParameterType |
參數 CLR 類型。 (繼承來源 ParameterBinding) |
ServiceDelegate |
在實體實例上設定 CLR 服務屬性的委派。 (繼承來源 ServiceParameterBinding) |
ServiceType |
EF 內部服務 CLR 類型。 (繼承來源 ServiceParameterBinding) |
方法
BindToParameter(Expression, Expression) |
建立運算式樹狀結構,代表屬性值從具體化運算式系結至建構函式、Factory 方法等的參數。 |
BindToParameter(ParameterBindingInfo) |
建立運算式樹狀結構,代表屬性值從具體化運算式系結至建構函式、Factory 方法等的參數。 (繼承來源 ServiceParameterBinding) |
With(IPropertyBase[]) |
建立包含指定已取用屬性的複本。 |
With(IPropertyBase[]) |
建立包含指定已取用屬性的複本。 (繼承來源 ParameterBinding) |