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