MappingFragment.PropertyMappings 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得屬性對應的唯讀集合。
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Overrides ReadOnly Property PropertyMappings As ReadOnlyCollection(Of PropertyMapping)
Get
'用途
Dim instance As MappingFragment
Dim value As ReadOnlyCollection(Of PropertyMapping)
value = instance.PropertyMappings
public override ReadOnlyCollection<PropertyMapping> PropertyMappings { get; }
public:
virtual property ReadOnlyCollection<PropertyMapping^>^ PropertyMappings {
ReadOnlyCollection<PropertyMapping^>^ get () override;
}
abstract PropertyMappings : ReadOnlyCollection<PropertyMapping>
override PropertyMappings : ReadOnlyCollection<PropertyMapping>
override function get PropertyMappings () : ReadOnlyCollection<PropertyMapping>
屬性值
類型:System.Collections.ObjectModel.ReadOnlyCollection<PropertyMapping>