Compartilhar via


EntityKey Class

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Base class for a key that represents a unique entity identity. The key is suitable for hashing.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Client.EntityKey

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public MustInherit Class EntityKey
'Usage
Dim instance As EntityKey
public abstract class EntityKey
public ref class EntityKey abstract
[<AbstractClassAttribute>]
type EntityKey =  class end
public abstract class EntityKey

The EntityKey type exposes the following members.

Constructors

  Name Description
Protected method EntityKey Initializes a new instance of the EntityKey class.

Top

Methods

  Name Description
Public methodStatic member Create(Object()) Creates a key using the specified key values.
Public methodStatic member Create<T1, T2>(T1, T2) Creates a key using the specified key values.
Public methodStatic member Create<T1, T2, T3>(T1, T2, T3) Creates a key using the specified key values.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Formats the key as a set of key values. (Overrides Object.ToString().)

Top

Remarks

This class also provides factory methods for the creation of keys.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.ServiceModel.DomainServices.Client Namespace