IRelationalTypeMappingSourcePlugin 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示外掛程式關聯式別對應來源。
public interface IRelationalTypeMappingSourcePlugin
type IRelationalTypeMappingSourcePlugin = interface
Public Interface IRelationalTypeMappingSourcePlugin
備註
服務存留期為 Singleton ,且允許多個註冊。 這表示許多 DbContext 實例都會使用每個服務的單一實例。 實作必須是安全線程。 此服務不能相依于註冊為 Scoped 的服務。
如需詳細資訊和範例,請參閱 資料庫提供者和延伸模組的實作 。
方法
FindMapping(RelationalTypeMappingInfo) |
尋找指定資訊的型別對應。 |