EntityKeyMember 构造函数

定义

初始化 EntityKeyMember 类的新实例。Initializes a new instance of the EntityKeyMember class.

重载

EntityKeyMember()

初始化 EntityKeyMember 类的新实例。Initializes a new instance of the EntityKeyMember class.

EntityKeyMember(String, Object)

使用指定实体键对初始化 EntityKeyMember 类的新实例。Initializes a new instance of the EntityKeyMember class with the specified entity key pair.

EntityKeyMember()

初始化 EntityKeyMember 类的新实例。Initializes a new instance of the EntityKeyMember class.

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

注解

此构造函数在实体键序列化过程中使用。This constructor is used during entity key serialization.

适用于

EntityKeyMember(String, Object)

使用指定实体键对初始化 EntityKeyMember 类的新实例。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)

参数

keyName
String

键的名称。The name of the key.

keyValue
Object

键值。The key value.

适用于