Redigera

Dela via


EntityKeyMember Constructors

Definition

Initializes a new instance of the EntityKeyMember class.

Overloads

EntityKeyMember()

Initializes a new instance of the EntityKeyMember class.

EntityKeyMember(String, Object)

Initializes a new instance of the EntityKeyMember class with the specified entity key pair.

EntityKeyMember()

Initializes a new instance of the EntityKeyMember class.

public:
 EntityKeyMember();
public EntityKeyMember ();
Public Sub New ()

Remarks

This constructor is used during entity key serialization.

Applies to

EntityKeyMember(String, Object)

Initializes a new instance of the EntityKeyMember class with the specified entity key pair.

public:
 EntityKeyMember(System::String ^ keyName, System::Object ^ keyValue);
public EntityKeyMember (string keyName, object keyValue);
new System.Data.EntityKeyMember : string * obj -> System.Data.EntityKeyMember
Public Sub New (keyName As String, keyValue As Object)

Parameters

keyName
String

The name of the key.

keyValue
Object

The key value.

Applies to