DBPrimaryKey(String, ICollection) Constructor
In This Article
Initializes a new instance of the DBPrimaryKey class with the specified name and columns that function as primary keys for a table.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public DBPrimaryKey(
string name,
ICollection columns
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A String value that is assigned to the DBTable |
columns | ICollection | A collection of strings that identify columns that function as primary keys for a table. This value is assigned to the DBTable |
See Also