MobileServiceCollection<TTable,TCollection> Constructors

Definition

Overloads

MobileServiceCollection<TTable,TCollection>(IMobileServiceTableQuery<TTable>, Int32)

Initializes a new instance of the IncrementalLoadingMobileServiceCollection{TTable, TCollection} class. This constructior should be used in cases where TTable and TCollection are the same type.

MobileServiceCollection<TTable,TCollection>(IMobileServiceTableQuery<TTable>, Func<IEnumerable<TTable>,IEnumerable<TCollection>>, Int32)

Initializes a new instance of the IncrementalLoadingMobileServiceCollection{TTable, TCollection} class.

MobileServiceCollection<TTable,TCollection>(IMobileServiceTableQuery<TTable>, Func<TTable,TCollection>, Int32)

Initializes a new instance of the IncrementalLoadingMobileServiceCollection{TTable, TCollection} class.

MobileServiceCollection<TTable,TCollection>(IMobileServiceTableQuery<TTable>, Int32)

Initializes a new instance of the IncrementalLoadingMobileServiceCollection{TTable, TCollection} class. This constructior should be used in cases where TTable and TCollection are the same type.

public MobileServiceCollection (Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<TTable> query, int pageSize = 0);
new Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'Collection> : Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'able> * int -> Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'Collection>
Public Sub New (query As IMobileServiceTableQuery(Of TTable), Optional pageSize As Integer = 0)

Parameters

query
IMobileServiceTableQuery<TTable>

The data source's query which provides the data.

pageSize
System.Int32

The number of items requested per request.

Applies to

MobileServiceCollection<TTable,TCollection>(IMobileServiceTableQuery<TTable>, Func<IEnumerable<TTable>,IEnumerable<TCollection>>, Int32)

Initializes a new instance of the IncrementalLoadingMobileServiceCollection{TTable, TCollection} class.

public MobileServiceCollection (Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<TTable> query, Func<System.Collections.Generic.IEnumerable<TTable>,System.Collections.Generic.IEnumerable<TCollection>> selector, int pageSize = 0);
new Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'Collection> : Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'able> * Func<seq<'able>, seq<'Collection>> * int -> Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'Collection>
Public Sub New (query As IMobileServiceTableQuery(Of TTable), selector As Func(Of IEnumerable(Of TTable), IEnumerable(Of TCollection)), Optional pageSize As Integer = 0)

Parameters

query
IMobileServiceTableQuery<TTable>

The data source's query which provides the data.

selector
System.Func<System.Collections.Generic.IEnumerable<TTable>,System.Collections.Generic.IEnumerable<TCollection>>

A selector function to provide client side projections.

pageSize
System.Int32

The number of items requested per request.

Applies to

MobileServiceCollection<TTable,TCollection>(IMobileServiceTableQuery<TTable>, Func<TTable,TCollection>, Int32)

Initializes a new instance of the IncrementalLoadingMobileServiceCollection{TTable, TCollection} class.

public MobileServiceCollection (Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<TTable> query, Func<TTable,TCollection> selector, int pageSize = 0);
new Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'Collection> : Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'able> * Func<'able, 'Collection> * int -> Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'Collection>
Public Sub New (query As IMobileServiceTableQuery(Of TTable), selector As Func(Of TTable, TCollection), Optional pageSize As Integer = 0)

Parameters

query
IMobileServiceTableQuery<TTable>

The data source's query which provides the data.

selector
System.Func<TTable,TCollection>

A selector function to provide client side projections.

pageSize
System.Int32

The number of items requested per request.

Applies to