共用方式為


IRelationalTypeMappingSourcePlugin 介面

定義

表示外掛程式關聯式別對應來源。

public interface IRelationalTypeMappingSourcePlugin
type IRelationalTypeMappingSourcePlugin = interface
Public Interface IRelationalTypeMappingSourcePlugin

備註

服務存留期為 Singleton ,且允許多個註冊。 這表示許多 DbContext 實例都會使用每個服務的單一實例。 實作必須是安全線程。 此服務不能相依于註冊為 Scoped 的服務。

如需詳細資訊和範例,請參閱 資料庫提供者和延伸模組的實作

方法

FindMapping(RelationalTypeMappingInfo)

尋找指定資訊的型別對應。

適用於