Click or drag to resize
MapTPoco Class
A class for defining how to map a POCO via a fluent-style interface. The mapping for Type T should be defined in the constructor of the sub class.
Inheritance Hierarchy
SystemObject
  Dse.MappingMapTPoco

Namespace: Dse.Mapping
Assembly: Dse (in Dse.dll) Version: 2.3.0
Syntax
C#
public class Map<TPoco> : ITypeDefinition

Type Parameters

TPoco

The MapTPoco type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCaseSensitive
Specifies that when generating queries, the table and column names identifiers must be quoted. Defaults to false.
Public methodClusteringKey(ExpressionFuncTPoco, Object)
Specifies a Clustering key with unspecified order
Public methodClusteringKey(String)
Specifies the clustering key column names for the table using the order provided.
Public methodClusteringKey(TupleString, SortOrder)
Specifies the Clustering keys with the corresponding clustering order
Public methodClusteringKey(ExpressionFuncTPoco, Object, SortOrder)
Specifies a Clustering key with its clustering order
Public methodColumnTProp(ExpressionFuncTPoco, TProp)
Sets the mapping for the expression using the default options.
Public methodColumnTProp(ExpressionFuncTPoco, TProp, ActionColumnMap)
Defines options for mapping the column specified.
Public methodCompactStorage
Specifies that the table is defined as COMPACT STORAGE
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExplicitColumns
Specifies that when mapping, we should only map columns that are explicitly defined here. Use the Column method to define columns.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodKeyspaceName
Specifies that when mapping, the table name should include the keyspace. Use only if the table you are mapping is in a different keyspace than the current ISession.
Public methodPartitionKey(ExpressionFuncTPoco, Object)
Specifies the properties/fields on the POCO whose column names are the partition key for the table.
Public methodPartitionKey(String)
Specifies the partition key column names for the table using the order provided.
Public methodTableName
Specifies what table to map the POCO to.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also