Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EntityKeyMember Constructor (String, Object)
Collapse the table of content
Expand the table of content

EntityKeyMember Constructor (String, Object)

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

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

public EntityKeyMember(
	string keyName,
	Object keyValue


Type: System.String

The name of the key.

Type: System.Object

The key value.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft