DataStax Enterprise C# Driver
DataStax Enterprise C# Driver
Namespaces
Dse.Mapping
Mapper Class
Mapper Methods
FirstAsync Method
FirstAsync(T) Method (Cql)
FirstAsync(T) Method (String, Object[])
Mapper
FirstAsync
T
Method (String,
Object
)
Gets the first T from Cassandra using the CQL statement and parameter values specified. Will throw if no records are returned.
Namespace:
Dse.Mapping
Assembly:
Dse (in Dse.dll) Version: 2.6.0
Syntax
C#
Copy
public
Task
<T>
FirstAsync
<T>(
string
cql
,
params
Object
[]
args
)
Parameters
cql
Type:
System
String
args
Type:
System
Object
Type Parameters
T
Return Value
Type:
Task
T
Implements
ICqlQueryAsyncClient
FirstAsync
T
(String,
Object
)
See Also
Reference
Mapper Class
FirstAsync Overload
Dse.Mapping Namespace
DataStax C# Drivers User Mailing List
© DataStax, All rights reserved.