Table of Contents

Method AsObjectFromBlueprint

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

AsObjectFromBlueprint<T>(IRecord, T)

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

public static T AsObjectFromBlueprint<T>(this IRecord record, T blueprint)

Parameters

record IRecord

The record to convert.

blueprint T

An object to be used as a blueprint for the mapping. This could be an object of an anonymous type.

Returns

T

The mapped object.

Type Parameters

T

The type that will be mapped to.

Remarks