Table of Contents

Class Relation

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class Relation
Inheritance
Relation
Inherited Members

Constructors

Relation(RelationOwnedHandle)

public Relation(RelationOwnedHandle handle)

Parameters

handle RelationOwnedHandle

Properties

Handle

public RelationOwnedHandle Handle { get; }

Property Value

RelationOwnedHandle

Methods

Count(IntPtr, int)

public int Count(IntPtr key, int field)

Parameters

key IntPtr
field int

Returns

int

Delete(IntPtr, int)

public int Delete(IntPtr key, int field)

Parameters

key IntPtr
field int

Returns

int

Destroy()

public void Destroy()

Equals(Relation?)

public bool Equals(Relation? other)

Parameters

other Relation

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

New(int)

public static Relation New(int fields)

Parameters

fields int

Returns

Relation

Print()

public void Print()

Select(IntPtr, int)

public Tuples Select(IntPtr key, int field)

Parameters

key IntPtr
field int

Returns

Tuples