MongoDomainManager<TData> Class

 

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

Namespace:   Microsoft.Azure.Mobile.Server
Assembly:  Microsoft.Azure.Mobile.Server.Mongo (in Microsoft.Azure.Mobile.Server.Mongo.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Azure.Mobile.Server.Tables.DomainManager<TData>
    Microsoft.Azure.Mobile.Server.MongoDomainManager<TData>

Syntax

public class MongoDomainManager<TData> : DomainManager<TData>
where TData : class, ITableData
generic<typename TData>
where TData : ref class, ITableData
public ref class MongoDomainManager : DomainManager<TData>
type MongoDomainManager<'TData when 'TData : not struct and ITableData> = 
    class
        inherit DomainManager<'TData>
    end
Public Class MongoDomainManager(Of TData As { Class, ITableData })
    Inherits DomainManager(Of TData)

Type Parameters

  • TData
    The data object (DTO) type.

Constructors

Name Description
System_CAPS_pubmethod MongoDomainManager<TData>(String, String, String, HttpRequestMessage)

Creates a new instance of MongoDomainManager<TData>

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

Creates a new instance of MongoDomainManager<TData>

Properties

Name Description
System_CAPS_protproperty CollectionName

System_CAPS_protproperty Context

System_CAPS_protproperty DatabaseName

System_CAPS_pubproperty EnableSoftDelete

Determines whether rows are hard deleted or marked as deleted. False by default. (Inherited from DomainManager<TData>.)

System_CAPS_pubproperty IncludeDeleted

Determines whether soft deleted records are included in query results. True by default. (Inherited from DomainManager<TData>.)

System_CAPS_pubproperty Request

Instance of HttpRequestMessage(Inherited from DomainManager<TData>.)

Methods

Name Description
System_CAPS_pubmethod DeleteAsync(String)

(Overrides DomainManager<TData>.DeleteAsync(String).)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod GetCurrentItem(String)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethod GetMongoContext(String)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InsertAsync(TData)

(Overrides DomainManager<TData>.InsertAsync(TData).)

System_CAPS_pubmethod Lookup(String)

(Overrides DomainManager<TData>.Lookup(String).)

System_CAPS_pubmethod LookupAsync(String)

(Overrides DomainManager<TData>.LookupAsync(String).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Query()

(Overrides DomainManager<TData>.Query().)

System_CAPS_pubmethod QueryAsync(ODataQueryOptions)

(Overrides DomainManager<TData>.QueryAsync(ODataQueryOptions).)

System_CAPS_pubmethod ReplaceAsync(String, TData)

(Overrides DomainManager<TData>.ReplaceAsync(String, TData).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UndeleteAsync(String, Delta<TData>)

(Overrides DomainManager<TData>.UndeleteAsync(String, Delta<TData>).)

System_CAPS_pubmethod UpdateAsync(String, Delta<TData>)

(Overrides DomainManager<TData>.UpdateAsync(String, Delta<TData>).)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Azure.Mobile.Server Namespace

Return to top