共用方式為


EntityContainerMapping.AssociationSetMappings 屬性

[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]

取得關聯集對應。

命名空間:  System.Data.Entity.Core.Mapping
組件:  EntityFramework (在 EntityFramework.dll 中)

語法

'宣告
Public Overridable ReadOnly Property AssociationSetMappings As IEnumerable(Of AssociationSetMapping)
    Get
'用途
Dim instance As EntityContainerMapping 
Dim value As IEnumerable(Of AssociationSetMapping)

value = instance.AssociationSetMappings
public virtual IEnumerable<AssociationSetMapping> AssociationSetMappings { get; }
public:
virtual property IEnumerable<AssociationSetMapping^>^ AssociationSetMappings {
    IEnumerable<AssociationSetMapping^>^ get ();
}
abstract AssociationSetMappings : IEnumerable<AssociationSetMapping>
override AssociationSetMappings : IEnumerable<AssociationSetMapping>
function get AssociationSetMappings () : IEnumerable<AssociationSetMapping>

屬性值

類型:System.Collections.Generic.IEnumerable<AssociationSetMapping>
關聯集對應。

請參閱

參考

EntityContainerMapping 類別

System.Data.Entity.Core.Mapping 命名空間