Edit

Share via


DataServiceKeyAttribute Constructors

Definition

Initializes a new instance of the DataServiceKeyAttribute class.

Overloads

DataServiceKeyAttribute(String)

Initializes a new instance of the DataServiceKeyAttribute class.

DataServiceKeyAttribute(String[])

Initializes a new instance of the DataServiceKeyAttribute class.

DataServiceKeyAttribute(String)

Initializes a new instance of the DataServiceKeyAttribute class.

public:
 DataServiceKeyAttribute(System::String ^ keyName);
public DataServiceKeyAttribute (string keyName);
new System.Data.Services.Common.DataServiceKeyAttribute : string -> System.Data.Services.Common.DataServiceKeyAttribute
Public Sub New (keyName As String)

Parameters

keyName
String

The string that contains name of the key attribute.

Applies to

DataServiceKeyAttribute(String[])

Initializes a new instance of the DataServiceKeyAttribute class.

public:
 DataServiceKeyAttribute(... cli::array <System::String ^> ^ keyNames);
public DataServiceKeyAttribute (params string[] keyNames);
new System.Data.Services.Common.DataServiceKeyAttribute : string[] -> System.Data.Services.Common.DataServiceKeyAttribute
Public Sub New (ParamArray keyNames As String())

Parameters

keyNames
String[]

An array of string values that contain key attribute names.

Applies to