MobileServiceCollection<TTable,TCollection>.PrepareDataForCollection Method

Definition

Overloads

PrepareDataForCollection(IEnumerable<TTable>)

Transforms the data from the query into data for the collection using the provided selector function.

PrepareDataForCollection(TTable)

Transforms one item into an item for the collection using the provided selector function.

PrepareDataForCollection(IEnumerable<TTable>)

Transforms the data from the query into data for the collection using the provided selector function.

public virtual System.Collections.Generic.IEnumerable<TCollection> PrepareDataForCollection (System.Collections.Generic.IEnumerable<TTable> items);
Parameters
items
IEnumerable<TTable>

The items.

Returns
IEnumerable<TCollection>

The transformed data.

PrepareDataForCollection(TTable)

Transforms one item into an item for the collection using the provided selector function.

public TCollection PrepareDataForCollection (TTable item);
Parameters
item
TTable

The item.

Returns
TCollection

The transformed item.