MongoDomainManager<TData> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Azure SDK for .NET