Table of Contents

Method AsObject

Namespace
Neo4j.Driver.Mapping
Assembly
Neo4j.Driver.dll

AsObject<T>(IRecord)

Converts the record to an object of the given type according to the global mapping configuration.

public static T AsObject<T>(this IRecord record)

Parameters

record IRecord

The record to convert.

Returns

T

The mapped object.

Type Parameters

T

The type to map to.

See Also

AsObject(IRecord, Type)

Converts the record to an object of the given type according to the global mapping configuration.

public static object AsObject(this IRecord record, Type objectType)

Parameters

record IRecord

The record to convert.

objectType Type

The type to map to.

Returns

object

The mapped object.

See Also