共用方式為


MongoDomainManager<TData> Constructors

Definition

Overloads

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

Creates a new instance of MongoDomainManager<TData>

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>

public MongoDomainManager (string connectionStringName, string databaseName, string collectionName, System.Net.Http.HttpRequestMessage request, Microsoft.WindowsAzure.Mobile.Service.ApiServices services);
new Microsoft.WindowsAzure.Mobile.Service.MongoDomainManager<'Data (requires 'Data : null and 'Data :> Microsoft.WindowsAzure.Mobile.Service.Tables.ITableData)> : string * string * string * System.Net.Http.HttpRequestMessage * Microsoft.WindowsAzure.Mobile.Service.ApiServices -> Microsoft.WindowsAzure.Mobile.Service.MongoDomainManager<'Data (requires 'Data : null and 'Data :> Microsoft.WindowsAzure.Mobile.Service.Tables.ITableData)>
Public Sub New (connectionStringName As String, databaseName As String, collectionName As String, request As HttpRequestMessage, services As ApiServices)

Parameters

connectionStringName
String

Name of the connection string for Mongo database

databaseName
String

Name of Mongo database

collectionName
String

Name of Mongo collection

request
HttpRequestMessage

An instance of HttpRequestMessage

services
ApiServices

An instance of ApiServices

Applies to

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

Creates a new instance of MongoDomainManager<TData>

public MongoDomainManager (string connectionStringName, string databaseName, string collectionName, System.Net.Http.HttpRequestMessage request, Microsoft.WindowsAzure.Mobile.Service.ApiServices services, bool enableSoftDelete);
new Microsoft.WindowsAzure.Mobile.Service.MongoDomainManager<'Data (requires 'Data : null and 'Data :> Microsoft.WindowsAzure.Mobile.Service.Tables.ITableData)> : string * string * string * System.Net.Http.HttpRequestMessage * Microsoft.WindowsAzure.Mobile.Service.ApiServices * bool -> Microsoft.WindowsAzure.Mobile.Service.MongoDomainManager<'Data (requires 'Data : null and 'Data :> Microsoft.WindowsAzure.Mobile.Service.Tables.ITableData)>
Public Sub New (connectionStringName As String, databaseName As String, collectionName As String, request As HttpRequestMessage, services As ApiServices, enableSoftDelete As Boolean)

Parameters

connectionStringName
String

Name of the connection string for Mongo database

databaseName
String

Name of Mongo database

collectionName
String

Name of Mongo collection

request
HttpRequestMessage

An instance of HttpRequestMessage

services
ApiServices

An instance of ApiServices

enableSoftDelete
Boolean

Determines whether rows are hard deleted or marked as deleted.

Applies to