EntityKeyMember Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.