Click or drag to resize

TableOperationsTGetPrimaryKeyFieldNames Method

Get the primary key field names for the table; if escaped is true, also includes any escaping as defined in model.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public string[] GetPrimaryKeyFieldNames(
	bool escaped = true
)
View Source

Parameters

escaped  Boolean  (Optional)
Flag that determines if field names should include any escaping as defined in the model; defaults to true.

Return Value

String
Array of primary key field names.

Implements

ITableOperationsGetPrimaryKeyFieldNames(Boolean)
Remarks
A field name will only be escaped if the model requested escaping with the UseEscapedNameAttribute.
See Also