|
TableDefinePrimaryKey Method
|
check for primary key field in
Table
Namespace: GSF.DataAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public bool DefinePrimaryKey(
string fieldName,
int primaryKeyOrdinal = -1,
string primaryKeyName = ""
)
Public Function DefinePrimaryKey (
fieldName As String,
Optional primaryKeyOrdinal As Integer = -1,
Optional primaryKeyName As String = ""
) As Boolean
public:
bool DefinePrimaryKey(
String^ fieldName,
int primaryKeyOrdinal = -1,
String^ primaryKeyName = L""
)
member DefinePrimaryKey :
fieldName : string *
?primaryKeyOrdinal : int *
?primaryKeyName : string
(* Defaults:
let _primaryKeyOrdinal = defaultArg primaryKeyOrdinal -1
let _primaryKeyName = defaultArg primaryKeyName ""
*)
-> bool
function DefinePrimaryKey(fieldName, primaryKeyOrdinal, primaryKeyName);
View SourceParameters
- fieldName String
- primaryKeyOrdinal Int32 (Optional)
- primaryKeyName String (Optional)
Return Value
BooleanSee Also