EntityKeyMember Constructor

 

Initializes a new instance of the EntityKeyMember class.

Namespace:   System.Data.Entity.Core
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodEntityKeyMember()

Creates an empty EntityKeyMember. This constructor is used by serialization.

System_CAPS_pubmethodEntityKeyMember(String, Object)

Creates a new EntityKeyMember with the specified key name and value.


EntityKeyMember Constructor ()

Creates an empty EntityKeyMember. This constructor is used by serialization.

public EntityKeyMember()

EntityKeyMember Constructor (String, Object)

Creates a new EntityKeyMember with the specified key name and value.

public EntityKeyMember(
	string keyName,
	object keyValue
)

Parameters

keyName
Type: System.String

The key name

keyValue
Type: System.Object

The key value