Click or drag to resize

TableDefinePrimaryKey Method

check for primary key field in Table

Namespace: GSF.Data
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public bool DefinePrimaryKey(
	string fieldName,
	int primaryKeyOrdinal = -1,
	string primaryKeyName = ""
)
View Source

Parameters

fieldName  String
primaryKeyOrdinal  Int32  (Optional)
primaryKeyName  String  (Optional)

Return Value

Boolean
See Also