Class MongoDbCRUDQueryHandlerBase
A base for ICRUDQueryHandler-derivatives for mongo
Inheritance
System.Object
MongoDbCRUDQueryHandlerBase
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Azos.MongoDb.dll
Syntax
public abstract class MongoDbCRUDQueryHandlerBase : CRUDQueryHandler<MongoDbDataStore>, INamed
Constructors
MongoDbCRUDQueryHandlerBase(MongoDbDataStore, QuerySource)
Declaration
public MongoDbCRUDQueryHandlerBase(MongoDbDataStore store, QuerySource source)
Parameters
MongoDbCRUDQueryHandlerBase(MongoDbDataStore, String)
Declaration
public MongoDbCRUDQueryHandlerBase(MongoDbDataStore store, string name)
Parameters
Properties
Converter
Declaration
public DataDocConverter Converter { get; }
Property Value
Methods
Execute(ICRUDQueryExecutionContext, Query, Boolean)
Declaration
public override RowsetBase Execute(ICRUDQueryExecutionContext context, Query query, bool oneRow = false)
Parameters
Returns
Overrides
ExecuteAsync(ICRUDQueryExecutionContext, Query, Boolean)
Declaration
public override Task<RowsetBase> ExecuteAsync(ICRUDQueryExecutionContext context, Query query, bool oneRow = false)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<RowsetBase> |
|
Overrides
ExecuteWithoutFetch(ICRUDQueryExecutionContext, Query)
Declaration
public override int ExecuteWithoutFetch(ICRUDQueryExecutionContext context, Query query)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Overrides
ExecuteWithoutFetchAsync(ICRUDQueryExecutionContext, Query)
Declaration
public override Task<int> ExecuteWithoutFetchAsync(ICRUDQueryExecutionContext context, Query query)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Int32> |
|
Overrides
GetSchema(ICRUDQueryExecutionContext, Query)
Declaration
public override Schema GetSchema(ICRUDQueryExecutionContext context, Query query)
Parameters
Returns
Overrides
GetSchemaAsync(ICRUDQueryExecutionContext, Query)
Declaration
public override Task<Schema> GetSchemaAsync(ICRUDQueryExecutionContext context, Query query)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Schema> |
|
Overrides
MakeQuery(Database, Query, QuerySource, out Collection)
Declaration
public Query MakeQuery(Database db, Query query, QuerySource source, out Collection collection)
Parameters
Returns
MakeQuery(Query, QuerySource)
Declaration
public Query MakeQuery(Query query, QuerySource source)
Parameters
Returns
MapBSONArrayToRowset(BSONArrayElement, Type)
Declaration
protected Rowset MapBSONArrayToRowset(BSONArrayElement rowsetData, Type tDoc)
Parameters
Returns
OpenCursor(ICRUDQueryExecutionContext, Query)
Declaration
public override Cursor OpenCursor(ICRUDQueryExecutionContext context, Query query)
Parameters
Returns
Overrides
OpenCursorAsync(ICRUDQueryExecutionContext, Query)
Declaration
public override Task<Cursor> OpenCursorAsync(ICRUDQueryExecutionContext context, Query query)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<Cursor> |
|
Overrides
Implements
Extension Methods