RelationalEntityTypeExtensions.GetMappingFragments 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetMappingFragments(IConventionEntityType) |
傳回所有已設定的實體類型對應片段。 這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。 |
GetMappingFragments(IEntityType) |
傳回所有已設定的實體類型對應片段。 這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。 |
GetMappingFragments(IMutableEntityType) |
傳回所有已設定的實體類型對應片段。 這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。 |
GetMappingFragments(IReadOnlyEntityType) |
傳回所有已設定的實體類型對應片段。 這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。 |
GetMappingFragments(IConventionEntityType, StoreObjectType) |
傳回指定型別的所有已設定實體類型對應片段。 這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。 |
GetMappingFragments(IEntityType, StoreObjectType) |
傳回指定型別的所有已設定實體類型對應片段。 這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。 |
GetMappingFragments(IMutableEntityType, StoreObjectType) |
傳回指定型別的所有已設定實體類型對應片段。 這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。 |
GetMappingFragments(IReadOnlyEntityType, StoreObjectType) |
傳回指定型別的所有已設定實體類型對應片段。 這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。 |
GetMappingFragments(IConventionEntityType)
傳回所有已設定的實體類型對應片段。
這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IConventionEntityType) As IEnumerable(Of IConventionEntityTypeMappingFragment)
參數
- entityType
- IConventionEntityType
實體類型。
傳回
已設定的實體類型對應片段。
適用於
GetMappingFragments(IEntityType)
傳回所有已設定的實體類型對應片段。
這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IEntityType) As IEnumerable(Of IEntityTypeMappingFragment)
參數
- entityType
- IEntityType
實體類型。
傳回
已設定的實體類型對應片段。
適用於
GetMappingFragments(IMutableEntityType)
傳回所有已設定的實體類型對應片段。
這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IMutableEntityType) As IEnumerable(Of IMutableEntityTypeMappingFragment)
參數
- entityType
- IMutableEntityType
實體類型。
傳回
已設定的實體類型對應片段。
適用於
GetMappingFragments(IReadOnlyEntityType)
傳回所有已設定的實體類型對應片段。
這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IReadOnlyEntityType) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)
參數
- entityType
- IReadOnlyEntityType
實體類型。
傳回
已設定的實體類型對應片段。
適用於
GetMappingFragments(IConventionEntityType, StoreObjectType)
傳回指定型別的所有已設定實體類型對應片段。
這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IConventionEntityType, storeObjectType As StoreObjectType) As IEnumerable(Of IConventionEntityTypeMappingFragment)
參數
- entityType
- IConventionEntityType
實體類型。
- storeObjectType
- StoreObjectType
要為其取得對應片段的存放區物件類型。
傳回
已設定的實體類型對應片段。
適用於
GetMappingFragments(IEntityType, StoreObjectType)
傳回指定型別的所有已設定實體類型對應片段。
這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IEntityType, storeObjectType As StoreObjectType) As IEnumerable(Of IEntityTypeMappingFragment)
參數
- entityType
- IEntityType
實體類型。
- storeObjectType
- StoreObjectType
要為其取得對應片段的存放區物件類型。
傳回
已設定的實體類型對應片段。
適用於
GetMappingFragments(IMutableEntityType, StoreObjectType)
傳回指定型別的所有已設定實體類型對應片段。
這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IMutableEntityType, storeObjectType As StoreObjectType) As IEnumerable(Of IMutableEntityTypeMappingFragment)
參數
- entityType
- IMutableEntityType
實體類型。
- storeObjectType
- StoreObjectType
要為其取得對應片段的存放區物件類型。
傳回
已設定的實體類型對應片段。
適用於
GetMappingFragments(IReadOnlyEntityType, StoreObjectType)
傳回指定型別的所有已設定實體類型對應片段。
這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment> GetMappingFragments (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.StoreObjectType storeObjectType);
static member GetMappingFragments : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * Microsoft.EntityFrameworkCore.Metadata.StoreObjectType -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityTypeMappingFragment>
<Extension()>
Public Function GetMappingFragments (entityType As IReadOnlyEntityType, storeObjectType As StoreObjectType) As IEnumerable(Of IReadOnlyEntityTypeMappingFragment)
參數
- entityType
- IReadOnlyEntityType
實體類型。
- storeObjectType
- StoreObjectType
要為其取得對應片段的存放區物件類型。
傳回
已設定的實體類型對應片段。