DataStax Enterprise C# Driver
DataStax Enterprise C# Driver
Namespaces
Dse.Mapping
Mapper Class
Mapper Methods
FirstOrDefault Method
FirstOrDefault(T) Method (Cql)
FirstOrDefault(T) Method (String, Object[])
Mapper
FirstOrDefault
T
Method (Cql)
Gets the first T from Cassandra using the CQL statement specified. Will return the default value of T if no records are found.
Namespace:
Dse.Mapping
Assembly:
Dse (in Dse.dll) Version: 2.1.0
Syntax
C#
Copy
public
T
FirstOrDefault
<T>(
Cql
cql
)
Parameters
cql
Type:
Dse.Mapping
Cql
Type Parameters
T
Return Value
Type:
T
Implements
ICqlQueryClient
FirstOrDefault
T
(Cql)
See Also
Reference
Mapper Class
FirstOrDefault Overload
Dse.Mapping Namespace
DataStax C# Drivers User Mailing List
© 2017 DataStax, All rights reserved.