Table of Contents

Class Relation

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
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 RelationHandle

Transfer ownership: None Nullable: False

key IntPtr

Transfer ownership: None Nullable: True

field int

Transfer 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 RelationHandle

Transfer ownership: None Nullable: False

key IntPtr

Transfer ownership: None Nullable: True

field int

Transfer 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 RelationHandle

Transfer 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 RelationHandle

Transfer ownership: None Nullable: False

field int

Transfer ownership: None Nullable: False

hashFunc HashFunc

Transfer ownership: None Nullable: False

keyEqualFunc EqualFunc

Transfer ownership: None Nullable: False

New(int)

Calls native function g_relation_new.

public static extern RelationUnownedHandle New(int fields)

Parameters

fields int

Transfer 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 RelationHandle

Transfer 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 RelationHandle

Transfer ownership: None Nullable: False

key IntPtr

Transfer ownership: None Nullable: True

field int

Transfer ownership: None Nullable: False

Returns

TuplesUnownedHandle

Transfer ownership: None Nullable: False