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

Class CassandraDataEngineBuilderExtensions

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

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

Registers the Cassandra data companion pack with an .

public static class CassandraDataEngineBuilderExtensions

objectCassandraDataEngineBuilderExtensions

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

AddCassandraData(EngineBuilder, string, string, Action<CassandraDataOptions>?)

Section titled “ AddCassandraData(EngineBuilder, string, string, Action<CassandraDataOptions>?)”

Adds the Cassandra data pack with the supplied contact points and keyspace.

public static EngineBuilder AddCassandraData(this EngineBuilder builder, string contactPoints, string keyspace, Action<CassandraDataOptions>? configure = null)

builder EngineBuilder

The engine builder to extend.

contactPoints string

One or more Cassandra contact-point host addresses, separated by commas (e.g. “localhost” or “node1,node2,node3”).

keyspace string

The Cassandra keyspace to connect to.

configure Action<CassandraDataOptions>?

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

EngineBuilder

The same engine builder for fluent composition.

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