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
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dse
Assembly: Dse.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 |
---|---|---|
System.Linq.Expressions.Expression<System.Func<T, TProperty>> | propertyExpression | |
System.String | udtFieldName |
Returns
Type | Description |
---|---|
UdtMap<T> |
Type Parameters
Name | Description |
---|---|
TProperty |
SetIgnoreCase(Boolean)
Declaration
public virtual UdtMap<T> SetIgnoreCase(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
Type | Description |
---|---|
UdtMap<T> |