Class Neo4jDataEngineBuilderExtensions
Namespace: Cephalon.Data.Neo4j.Registration
Assembly: Cephalon.Data.Neo4j.dll
Registers the Neo4j data companion pack with an
public static class Neo4jDataEngineBuilderExtensionsInheritance
Section titled “Inheritance”object ← Neo4jDataEngineBuilderExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”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)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”The same engine builder for fluent composition.
Remarks
Section titled “Remarks”Register outbox or inbox support by configuring 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)Parameters
Section titled “Parameters”builder EngineBuilder
The engine builder to extend.
configure Action<Neo4jDataOptions>
The callback that configures the host-owned Neo4j pack options, including
Returns
Section titled “Returns”The same engine builder for fluent composition.
Remarks
Section titled “Remarks”Use either bolt://localhost:7687.