Class CassandraDataEngineBuilderExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Data.Cassandra.Registration
Assembly: Cephalon.Data.Cassandra.dll
Registers the Cassandra data companion pack with an
public static class CassandraDataEngineBuilderExtensionsInheritance
Section titled “Inheritance”object ← CassandraDataEngineBuilderExtensions
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”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)Parameters
Section titled “Parameters”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.
Returns
Section titled “Returns”EngineBuilder
The same engine builder for fluent composition.
Remarks
Section titled “Remarks”Register outbox or inbox support by configuring configure callback.