Click or drag to resize
TableTEntity Constructor (ISession, MappingConfiguration, String, String)

Creates a new instance of the Linq IQueryProvider that represents a table in Cassandra using the mapping configuration provided.

Use this constructor if you want to use a different table and keyspace names than the ones defined in the mapping configuration.

Fluent configuration or attributes can be used to define mapping information.

Namespace: Cassandra.Data.Linq
Assembly: Cassandra (in Cassandra.dll) Version: 3.2.0
Syntax
C#
public Table(
	ISession session,
	MappingConfiguration config,
	string tableName,
	string keyspaceName
)

Parameters

session
Type: CassandraISession
Session instance to be used to execute the statements
config
Type: Cassandra.MappingMappingConfiguration
Mapping configuration
tableName
Type: SystemString
Name of the table
keyspaceName
Type: SystemString
Name of the keyspace were the table was created.
Remarks
In case no mapping information is defined, case-insensitive class and method names will be used.
See Also