次の方法で共有


EntityKey.EntityNotValidKey プロパティ

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

失敗した TREAT で生成されたエンティティを識別するシングルトン EntityKey を取得します。

名前空間:  System.Data.Entity.Core
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
<SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")> _
Public Shared ReadOnly Property EntityNotValidKey As EntityKey 
    Get
'使用
Dim value As EntityKey 

value = EntityKey.EntityNotValidKey
[SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static EntityKey EntityNotValidKey { get; }
[SuppressMessageAttribute(L"Microsoft.Security", L"CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public:
static property EntityKey^ EntityNotValidKey {
    EntityKey^ get ();
}
[<SuppressMessageAttribute("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")>]
static member EntityNotValidKey : EntityKey
static function get EntityNotValidKey () : EntityKey

プロパティ値

型 : System.Data.Entity.Core.EntityKey
失敗した TREAT で生成されたエンティティを識別するシングルトン EntityKey

参照

参照

EntityKey クラス

System.Data.Entity.Core 名前空間