Interface ITypeDefinition
A definition for how to map a POCO.
Assembly: Dse.dll
Syntax
public interface ITypeDefinition
Properties
AllowFiltering
Determines that all queries generated for this table can be made allowing server side filtering
Declaration
bool AllowFiltering { get; }
Property Value
Type |
Description |
System.Boolean |
|
CaseSensitive
Determines if the queries generated using this definition should be case-sensitive
Declaration
bool CaseSensitive { get; }
Property Value
Type |
Description |
System.Boolean |
|
ClusteringKeys
Gets the clustering key columns of the table.
Declaration
Tuple<string, SortOrder>[] ClusteringKeys { get; }
Property Value
Type |
Description |
System.Tuple<System.String, SortOrder>[] |
|
CompactStorage
Determines if the table is declared with COMPACT STORAGE
Declaration
bool CompactStorage { get; }
Property Value
Type |
Description |
System.Boolean |
|
ExplicitColumns
Whether or not this POCO should only have columns explicitly defined mapped.
Declaration
bool ExplicitColumns { get; }
Property Value
Type |
Description |
System.Boolean |
|
KeyspaceName
The name of the keyspace where the table is defined.
When the keyspace name is not null, the table name for the query generated will be fully qualified (ie: keyspace.tablename)
Declaration
string KeyspaceName { get; }
Property Value
Type |
Description |
System.String |
|
PartitionKeys
Gets the partition key columns of the table.
Declaration
string[] PartitionKeys { get; }
Property Value
Type |
Description |
System.String[] |
|
PocoType
Declaration
Property Value
Type |
Description |
System.Type |
|
TableName
The name of the table to map the POCO to.
Declaration
string TableName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
GetColumnDefinition(FieldInfo)
Gets a column definition for the given field on the POCO.
Declaration
IColumnDefinition GetColumnDefinition(FieldInfo field)
Parameters
Type |
Name |
Description |
System.Reflection.FieldInfo |
field |
|
Returns
GetColumnDefinition(PropertyInfo)
Gets a column definition for the given property on the POCO.
Declaration
IColumnDefinition GetColumnDefinition(PropertyInfo property)
Parameters
Type |
Name |
Description |
System.Reflection.PropertyInfo |
property |
|
Returns