IPropertyParameterBindingFactory 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
ParameterBinding特別尋找某種形式的屬性 (,也就是模型的一些 IPropertyBase) 。
public interface IPropertyParameterBindingFactory
type IPropertyParameterBindingFactory = interface
Public Interface IPropertyParameterBindingFactory
備註
服務存留期為 Singleton 。 這表示許多 DbContext 實例都會使用單一實例。 實作必須是安全線程。 此服務不能相依于註冊為 Scoped 的服務。
如需詳細資訊和範例 ,請參閱具有建構函式的實體類型 。
方法
FindParameter(IComplexType, Type, String) |
在 ParameterBinding 模型中特別 IPropertyBase 尋找 。 |
FindParameter(IEntityType, Type, String) |
在 ParameterBinding 模型中特別 IPropertyBase 尋找 。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應