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.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra
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()
Maps properties by name
Declaration
public virtual UdtMap<T> Automap()
Returns
Type | Description |
---|---|
UdtMap<T> |
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
Type | Name | Description |
---|---|---|
Expression<Func<T, TProperty>> | propertyExpression | |
string | udtFieldName |
Returns
Type | Description |
---|---|
UdtMap<T> |
Type Parameters
Name | Description |
---|---|
TProperty |
SetIgnoreCase(bool)
Declaration
public virtual UdtMap<T> SetIgnoreCase(bool value)
Parameters
Type | Name | Description |
---|---|---|
bool | value |
Returns
Type | Description |
---|---|
UdtMap<T> |