RelationalTypeBaseExtensions.GetMappingFragments 方法

定義

多載

GetMappingFragments(ITypeBase, StoreObjectType)

傳回指定型別的所有已設定型別對應片段。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

GetMappingFragments(IReadOnlyTypeBase, StoreObjectType)

傳回指定型別的所有已設定型別對應片段。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

GetMappingFragments(ITypeBase)

傳回所有已設定的類型對應片段。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

GetMappingFragments(IReadOnlyTypeBase)

傳回所有已設定的類型對應片段。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

GetMappingFragments(ITypeBase, StoreObjectType)

傳回指定型別的所有已設定型別對應片段。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As ITypeBase, storeObjectType As StoreObjectType) As IEnumerable(Of IEntityTypeMappingFragment)

參數

typeBase
ITypeBase

類型。

storeObjectType
StoreObjectType

要為其取得對應片段的存放區物件類型。

傳回

設定的類型對應片段。

適用於

GetMappingFragments(IReadOnlyTypeBase, StoreObjectType)

傳回指定型別的所有已設定型別對應片段。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As IReadOnlyTypeBase, storeObjectType As StoreObjectType) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)

參數

typeBase
IReadOnlyTypeBase

類型。

storeObjectType
StoreObjectType

要為其取得對應片段的存放區物件類型。

傳回

設定的類型對應片段。

適用於

GetMappingFragments(ITypeBase)

傳回所有已設定的類型對應片段。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As ITypeBase) As IEnumerable(Of IEntityTypeMappingFragment)

參數

typeBase
ITypeBase

類型。

傳回

設定的類型對應片段。

適用於

GetMappingFragments(IReadOnlyTypeBase)

傳回所有已設定的類型對應片段。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase typeBase);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyTypeBase -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (typeBase As IReadOnlyTypeBase) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)

參數

typeBase
IReadOnlyTypeBase

類型。

傳回

設定的類型對應片段。

適用於