共用方式為


RelationalTypeMappingSourceExtensions 類別

定義

IRelationalTypeMappingSource 類別的擴充方法。

public static class RelationalTypeMappingSourceExtensions
type RelationalTypeMappingSourceExtensions = class
Public Module RelationalTypeMappingSourceExtensions
繼承
RelationalTypeMappingSourceExtensions

備註

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

方法

GetMapping(IRelationalTypeMappingSource, IProperty)

取得指定屬性的關係資料庫類型,如果找不到對應,則會擲回 。

GetMapping(IRelationalTypeMappingSource, String)

取得表示指定資料庫類型的對應,如果找不到對應,則會擲回。

GetMapping(IRelationalTypeMappingSource, Type)

取得指定 .NET 類型的關係資料庫類型,如果找不到對應,則會擲回。

GetMapping(IRelationalTypeMappingSource, Type, IModel)

取得指定 .NET 類型的關係資料庫類型,如果找不到對應,則會擲回。

GetMappingForValue(IRelationalTypeMappingSource, Object)

取得指定物件的關係資料庫類型,如果找不到對應,則會擲回。

GetMappingForValue(IRelationalTypeMappingSource, Object, IModel)

取得指定物件的關係資料庫類型,如果找不到對應,則會擲回。

適用於