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