Class UdtMap<T>
Represents a map between a UDT in Cassandra and a .NET Type, including data on how to map from UDT field names
to Properties on the .NET Type.
Assembly: Cassandra.dll
Syntax
public class UdtMap<T> : UdtMap where T : new()
Type Parameters
Name |
Description |
T |
The .NET Type to map the UDT to.
|
Methods
Automap()
Declaration
public virtual UdtMap<T> Automap()
Returns
Map<TProperty>(Expression<Func<T, TProperty>>, string)
Configures the driver to map the specified property on the .NET Type to the specified UDT field name.
Declaration
public virtual UdtMap<T> Map<TProperty>(Expression<Func<T, TProperty>> propertyExpression, string udtFieldName)
Parameters
Returns
Type Parameters
Name |
Description |
TProperty |
|
SetIgnoreCase(bool)
Declaration
public virtual UdtMap<T> SetIgnoreCase(bool value)
Parameters
Type |
Name |
Description |
bool |
value |
|
Returns