This documentation is archived and is not being maintained.
Visual Studio 2008
Provides a durable reference to an object that is an instance of an entity type.
The EntityKey type exposes the following members.
|Equals||Overloaded. Returns a value that indicates whether this instance is equal to a specified object.|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetEntitySet||Gets the entity set for this entity key from the given metadata workspace.|
|GetHashCode||Serves as a hash function for the current EntityKey object. GetHashCode is suitable for hashing algorithms and data structures such as a hash table. (Overrides Object.GetHashCode().)|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|OnDeserialized||Helper method that is used to deserialize an EntityKey.|
|OnDeserializing||Helper method that is used to deserialize an EntityKey.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|