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:  Dse.Data.Linq
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public Table(
	ISession session,
	MappingConfiguration config,
	string tableName,
	string keyspaceName
)

Parameters

session
Type: DseISession
Session instance to be used to execute the statements
config
Type: Dse.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