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);
Parameters
query
IMobileServiceTableQuery<TTable>

The data source's query which provides the data.

pageSize
Int32

The number of items requested per request.

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);
Parameters
query
IMobileServiceTableQuery<TTable>

The data source's query which provides the data.

selector
Func<IEnumerable<TTable>,IEnumerable<TCollection>>

A selector function to provide client side projections.

pageSize
Int32

The number of items requested per request.

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);
Parameters
query
IMobileServiceTableQuery<TTable>

The data source's query which provides the data.

selector
Func<TTable,TCollection>

A selector function to provide client side projections.

pageSize
Int32

The number of items requested per request.