Class UdtMappingDefinitions
Allows configuration of user defined types.
Inheritance
object
UdtMappingDefinitions
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 UdtMappingDefinitions
Methods
Define(params UdtMap[])
Add mapping definition(s) for UDTs, specifying how UDTs should be mapped to .NET types and vice versa.
Declaration
public void Define(params UdtMap[] udtMaps)
Parameters
| Type | Name | Description |
|---|---|---|
| UdtMap[] | udtMaps |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |
DefineAsync(params UdtMap[])
Add mapping definition(s) for UDTs, specifying how UDTs should be mapped to .NET types and vice versa.
Declaration
public Task DefineAsync(params UdtMap[] udtMaps)
Parameters
| Type | Name | Description |
|---|---|---|
| UdtMap[] | udtMaps |
Returns
| Type | Description |
|---|---|
| Task |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException |