Share via


MongoDomainManager<TData> Class

Definition

Provides an DomainManager<TData> implementation targeting Mongo as the backend store.

public class MongoDomainManager<TData> : Microsoft.WindowsAzure.Mobile.Service.Tables.DomainManager<TData> where TData : class, ITableData
type MongoDomainManager<'Data (requires 'Data : null and 'Data :> ITableData)> = class
    inherit DomainManager<'Data (requires 'Data : null and 'Data :> ITableData)>
Public Class MongoDomainManager(Of TData)
Inherits DomainManager(Of TData)

Type Parameters

TData

The data object (DTO) type.

Inheritance
MongoDomainManager<TData>

Constructors

MongoDomainManager<TData>(String, String, String, HttpRequestMessage, ApiServices, Boolean)

Creates a new instance of MongoDomainManager<TData>

MongoDomainManager<TData>(String, String, String, HttpRequestMessage, ApiServices)

Creates a new instance of MongoDomainManager<TData>

Properties

CollectionName
Context
DatabaseName
EnableSoftDelete

Determines whether rows are hard deleted or marked as deleted. False by default.

(Inherited from DomainManager<TData>)
IncludeDeleted

Determines whether soft deleted records are included in query results. True by default.

(Inherited from DomainManager<TData>)
Request

Instance of HttpRequestMessage

(Inherited from DomainManager<TData>)
Services

Instance of ApiServices

(Inherited from DomainManager<TData>)

Methods

DeleteAsync(String)
GetCurrentItem(String)
GetMongoContext(String)
InsertAsync(TData)
Lookup(String)
LookupAsync(String)
Query()
QueryAsync(ODataQueryOptions)
ReplaceAsync(String, TData)
UndeleteAsync(String, Delta<TData>)
UpdateAsync(String, Delta<TData>)

Applies to