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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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