Fauna v10 .NET/C# Driver 0.2.0-beta
 
Loading...
Searching...
No Matches
Fauna.DataContext Class Referenceabstract
Inheritance diagram for Fauna.DataContext:
Fauna.BaseClient Fauna.IClient

Classes

class  Collection
 
class  FunctionCall
 
interface  ICollection
 
interface  IFunction
 
interface  IIndex
 
class  Index
 
class  NameAttribute
 

Protected Member Functions

FunctionCall< T > Fn< T > (string name="", [CallerMemberName] string callerName="")
 
Col GetCollection< Col > ()
 

Additional Inherited Members

- Public Member Functions inherited from Fauna.BaseClient
Task< QuerySuccess< T > > QueryAsync< T > (Query query, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously executes a specified FQL query against the Fauna database and returns the typed result.
 
Task< QuerySuccess< object?> > QueryAsync (Query query, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously executes a specified FQL query against the Fauna database.
 
Task< QuerySuccess< T > > QueryAsync< T > (Query query, ISerializer< T > serializer, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously executes a specified FQL query against the Fauna database and returns the typed result.
 
Task< QuerySuccess< object?> > QueryAsync (Query query, ISerializer serializer, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously executes a specified FQL query against the Fauna database and returns the typed result.
 
IAsyncEnumerable< Page< T > > PaginateAsync< T > (Query query, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor.
 
IAsyncEnumerable< Page< T > > PaginateAsync< T > (Page< T > page, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded.
 
IAsyncEnumerable< Page< object?> > PaginateAsync (Query query, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor.
 
IAsyncEnumerable< Page< object?> > PaginateAsync (Page< object?> page, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded.
 
IAsyncEnumerable< Page< T > > PaginateAsync< T > (Query query, ISerializer< T > elemSerializer, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor.
 
IAsyncEnumerable< Page< T > > PaginateAsync< T > (Page< T > page, ISerializer< T > elemSerializer, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded.
 
IAsyncEnumerable< Page< object?> > PaginateAsync (Query query, ISerializer elemSerializer, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor.
 
IAsyncEnumerable< Page< object?> > PaginateAsync (Page< object?> page, ISerializer elemSerializer, QueryOptions? queryOptions=null, CancellationToken cancel=default)
 Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded.
 
- Public Member Functions inherited from Fauna.IClient
- Package Functions inherited from Fauna.BaseClient
- Properties inherited from Fauna.BaseClient

Detailed Description

Definition at line 9 of file DataContext.cs.

Member Function Documentation

◆ Fn< T >()

FunctionCall< T > Fauna.DataContext.Fn< T > ( string name = "",
[CallerMemberName] string callerName = "" )
protected
Type Constraints
T :notnull 

Definition at line 192 of file DataContext.cs.

◆ GetCollection< Col >()

Col Fauna.DataContext.GetCollection< Col > ( )
protected
Type Constraints
Col :ICollection 

Definition at line 198 of file DataContext.cs.


The documentation for this class was generated from the following file: