Table of Contents

Class ColumnMappingAttribute

Namespace
DataStax.AstraDB.DataApi.SerDes
Assembly
DataStax.AstraDB.DataApi.dll

Marks a property on a table row as a special field for the database's use.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public class ColumnMappingAttribute : Attribute, _Attribute
Inheritance
ColumnMappingAttribute
Implements
Inherited Members

Constructors

ColumnMappingAttribute(ColumnMappingField)

Initializes a new instance of the ColumnMappingAttribute class.

public ColumnMappingAttribute(ColumnMappingField field)

Parameters

field ColumnMappingField

The type of special field this property is mapped to

Properties

Field

The type of special field this property is mapped to

public ColumnMappingField Field { get; }

Property Value

ColumnMappingField