EntityKey.EntityKeyValues 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得或設定可識別實體的索引鍵值。
命名空間: System.Data.Entity.Core
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification := "Required for this feature")> _
<DataMemberAttribute> _
Public Property EntityKeyValues As EntityKeyMember()
Get
Set
'用途
Dim instance As EntityKey
Dim value As EntityKeyMember()
value = instance.EntityKeyValues
instance.EntityKeyValues = value
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification = "Required for this feature")]
[DataMemberAttribute]
public EntityKeyMember[] EntityKeyValues { get; set; }
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays", Justification = L"Required for this feature")]
[DataMemberAttribute]
public:
property array<EntityKeyMember^>^ EntityKeyValues {
array<EntityKeyMember^>^ get ();
void set (array<EntityKeyMember^>^ value);
}
[<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification = "Required for this feature")>]
[<DataMemberAttribute>]
member EntityKeyValues : EntityKeyMember[] with get, set
function get EntityKeyValues () : EntityKeyMember[]
function set EntityKeyValues (value : EntityKeyMember[])
屬性值
類型:System.Data.Entity.Core.EntityKeyMember[]
可識別實體的索引鍵值。