DataServiceKeyAttribute 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 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.