EntityKey クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
エンティティの識別子。
[System.Diagnostics.DebuggerDisplay("{ConcatKeyValue()}")]
[System.Runtime.Serialization.DataContract(IsReference=true)]
[System.Serializable]
public sealed class EntityKey : IEquatable<System.Data.Entity.Core.EntityKey>
type EntityKey = class
interface IEquatable<EntityKey>
Public NotInheritable Class EntityKey
Implements IEquatable(Of EntityKey)
- 継承
-
EntityKey
- 属性
- 実装
コンストラクター
| EntityKey() |
EntityKey クラスの新しいインスタンスを初期化します。 |
| EntityKey(String, IEnumerable<EntityKeyMember>) |
エンティティ セット名および EntityKeyMember オブジェクトの IEnumerable<T> コレクションを使用して、EntityKey クラスの新しいインスタンスを初期化します。 |
| EntityKey(String, IEnumerable<KeyValuePair<String,Object>>) |
エンティティ セット名およびジェネリック型の KeyValuePair コレクションを使用して、EntityKey クラスの新しいインスタンスを初期化します。 |
| EntityKey(String, String, Object) |
エンティティ セット名および特定のエンティティ キーのペアを使用して、EntityKey クラスの新しいインスタンスを初期化します。 |
プロパティ
| EntityContainerName |
エンティティ コンテナーの名前を取得または設定します。 |
| EntityKeyValues |
この EntityKey に関連付けられているキーの値を取得または設定します。 |
| EntityNotValidKey |
失敗した TREAT の結果のエンティティを識別するシングルトン EntityKey を取得します。 |
| EntitySetName |
エンティティ セットの名前を取得または設定します。 |
| IsTemporary |
EntityKey が一時的かどうかを示す値を取得します。 |
| NoEntitySetKey |
読み取り専用エンティティが識別されるシングルトン EntityKey を取得します。 |
メソッド
| Equals(EntityKey) |
このインスタンスが指定した と等しいかどうかを示す値を返します EntityKey 。 |
| Equals(Object) |
このインスタンスが、指定されたオブジェクトと等価であるかどうかを示す値を返します。 |
| GetEntitySet(MetadataWorkspace) |
このエンティティ キーのエンティティ セットを、指定されたメタデータ ワークスペースから取得します。 |
| GetHashCode() |
現在の EntityKey オブジェクトのハッシュ関数として機能します。 GetHashCode() は、ハッシュ アルゴリズムでの使用、およびハッシュ テーブルのようなデータ構造での使用に適しています。 |
| OnDeserialized(StreamingContext) |
EntityKey のシリアル化解除に使用されるヘルパー メソッド。 |
| OnDeserializing(StreamingContext) |
EntityKey のシリアル化解除に使用されるヘルパー メソッド。 |
演算子
| Equality(EntityKey, EntityKey) |
2 つの EntityKey オブジェクトを比較します。 |
| Inequality(EntityKey, EntityKey) |
2 つの EntityKey オブジェクトを比較します。 |