ข้ามไปยังเนื้อหา

Class Neo4jDataEngineBuilderExtensions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Data.Neo4j.Registration
Assembly: Cephalon.Data.Neo4j.dll

Registers the Neo4j data companion pack with an .

public static class Neo4jDataEngineBuilderExtensions

objectNeo4jDataEngineBuilderExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddNeo4jData(EngineBuilder, string, string, string, Action<Neo4jDataOptions>?)

Section titled “ AddNeo4jData(EngineBuilder, string, string, string, Action<Neo4jDataOptions>?)”

Adds the Neo4j data pack with the supplied Bolt URI, username, and password.

public static EngineBuilder AddNeo4jData(this EngineBuilder builder, string uri, string username, string password, Action<Neo4jDataOptions>? configure = null)

builder EngineBuilder

The engine builder to extend.

uri string

The Neo4j Bolt URI (e.g. bolt://localhost:7687).

username string

The Neo4j username.

password string

The Neo4j password.

configure Action<Neo4jDataOptions>?

An optional callback that configures the host-owned Neo4j pack options.

EngineBuilder

The same engine builder for fluent composition.

Register outbox or inbox support by configuring or in the configure callback.

AddNeo4jData(EngineBuilder, Action<Neo4jDataOptions>)

Section titled “ AddNeo4jData(EngineBuilder, Action<Neo4jDataOptions>)”

Adds the Neo4j data pack using an options callback that can bind from configuration.

public static EngineBuilder AddNeo4jData(this EngineBuilder builder, Action<Neo4jDataOptions> configure)

builder EngineBuilder

The engine builder to extend.

configure Action<Neo4jDataOptions>

The callback that configures the host-owned Neo4j pack options, including , , , and .

EngineBuilder

The same engine builder for fluent composition.

Use either or . Leaving both unset falls back to bolt://localhost:7687.