Class Relation
public class Relation
- Inheritance
-
Relation
- Inherited Members
Methods
Count(RelationHandle, IntPtr, int)
Calls native method g_relation_count.
public static extern int Count(RelationHandle relation, IntPtr key, int field)
Parameters
relation
RelationHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
field
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Delete(RelationHandle, IntPtr, int)
Calls native method g_relation_delete.
public static extern int Delete(RelationHandle relation, IntPtr key, int field)
Parameters
relation
RelationHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
field
intTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
Destroy(RelationHandle)
Calls native method g_relation_destroy.
public static extern void Destroy(RelationHandle relation)
Parameters
relation
RelationHandleTransfer ownership: None Nullable: False
Index(RelationHandle, int, HashFunc, EqualFunc)
Calls native method g_relation_index.
public static extern void Index(RelationHandle relation, int field, HashFunc hashFunc, EqualFunc keyEqualFunc)
Parameters
relation
RelationHandleTransfer ownership: None Nullable: False
field
intTransfer ownership: None Nullable: False
hashFunc
HashFuncTransfer ownership: None Nullable: False
keyEqualFunc
EqualFuncTransfer ownership: None Nullable: False
New(int)
Calls native function g_relation_new.
public static extern RelationUnownedHandle New(int fields)
Parameters
fields
intTransfer ownership: None Nullable: False
Returns
- RelationUnownedHandle
Transfer ownership: None Nullable: False
Print(RelationHandle)
Calls native method g_relation_print.
public static extern void Print(RelationHandle relation)
Parameters
relation
RelationHandleTransfer ownership: None Nullable: False
Select(RelationHandle, IntPtr, int)
Calls native method g_relation_select.
public static extern TuplesUnownedHandle Select(RelationHandle relation, IntPtr key, int field)
Parameters
relation
RelationHandleTransfer ownership: None Nullable: False
key
IntPtrTransfer ownership: None Nullable: True
field
intTransfer ownership: None Nullable: False
Returns
- TuplesUnownedHandle
Transfer ownership: None Nullable: False