Click or drag to resize
TableTEntity Constructor (ISession, MappingConfiguration, 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 name than the one 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.1.0
Syntax
C#
public Table(
	ISession session,
	MappingConfiguration config,
	string tableName
)

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
Remarks
In case no mapping information is defined, case-insensitive class and method names will be used.
See Also