|
TableDefinePrimaryKey Method
|
check for primary key field in
Table
Namespace: GSF.DataAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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