Compartilhar via


MobileServiceCollection<TTable,TCollection> Construtores

Definição

Sobrecargas

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

Inicializa uma nova instância da classe IncrementalLoadingMobileServiceCollection{TTable, TCollection}. Esse construtor deve ser usado nos casos em que TTable e TCollection são do mesmo tipo.

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

Inicializa uma nova instância da classe IncrementalLoadingMobileServiceCollection{TTable, TCollection}.

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

Inicializa uma nova instância da classe IncrementalLoadingMobileServiceCollection{TTable, TCollection}.

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

Inicializa uma nova instância da classe IncrementalLoadingMobileServiceCollection{TTable, TCollection}. Esse construtor deve ser usado nos casos em que TTable e TCollection são do mesmo tipo.

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)

Parâmetros

query
IMobileServiceTableQuery<TTable>

A consulta da fonte de dados que fornece os dados.

pageSize
Int32

O número de itens por solicitação.

Aplica-se a

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

Inicializa uma nova instância da classe IncrementalLoadingMobileServiceCollection{TTable, TCollection}.

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)

Parâmetros

query
IMobileServiceTableQuery<TTable>

A consulta da fonte de dados que fornece os dados.

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

A função do seletor para fornecer projeções do lado do cliente.

pageSize
Int32

O número de itens por solicitação.

Aplica-se a

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

Inicializa uma nova instância da classe IncrementalLoadingMobileServiceCollection{TTable, TCollection}.

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)

Parâmetros

query
IMobileServiceTableQuery<TTable>

A consulta da fonte de dados que fornece os dados.

selector
Func<TTable,TCollection>

A função do seletor para fornecer projeções do lado do cliente.

pageSize
Int32

O número de itens por solicitação.

Aplica-se a