Interface IColumnDefinition
A definition for how a property/field maps to a POCO.
Namespace: Dse.Mapping
Assembly: Dse.dll
Syntax
public interface IColumnDefinition
Properties
ColumnName
The name of the column in the database that this property/field maps to.
Declaration
string ColumnName { get; }
Property Value
Type | Description |
---|---|
System.String |
ColumnType
The data type of the column in C* for inserting/updating data.
Declaration
Type ColumnType { get; }
Property Value
Type | Description |
---|---|
System.Type |
HasFrozenKey
Determines if the key of the column type is frozen. Only valid for maps and sets, for example: map<frozen<tuple<text, text>>, uuid> .
Declaration
bool HasFrozenKey { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasFrozenValue
Determines if the value of the column type is frozen. Only valid for maps and lists, for example: map<uuid, frozen<tuple<text, text>>> .
Declaration
bool HasFrozenValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Ignore
Whether the property/field should be ignored when mapping.
Declaration
bool Ignore { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCounter
Determines if this column is a counter column
Declaration
bool IsCounter { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsExplicitlyDefined
Whether or not this column has been explicitly defined (for use when TypeDefinition.ExplicitColumns is true).
Declaration
bool IsExplicitlyDefined { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsFrozen
Determines if the column is frozen. Only valid for collections, tuples, and user-defined types. For example: frozen<address>
Declaration
bool IsFrozen { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsStatic
Determines if this column is a static column
Declaration
bool IsStatic { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MemberInfo
The MemberInfo for the property or field.
Declaration
MemberInfo MemberInfo { get; }
Property Value
Type | Description |
---|---|
System.Reflection.MemberInfo |
MemberInfoType
The Type of the property or field (i.e. FieldInfo.FieldType or PropertyInfo.PropertyType).
Declaration
Type MemberInfoType { get; }
Property Value
Type | Description |
---|---|
System.Type |
SecondaryIndex
Determines if there is a secondary index defined for this column
Declaration
bool SecondaryIndex { get; }
Property Value
Type | Description |
---|---|
System.Boolean |