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);
abstract member PrepareDataForCollection : seq<'able> -> seq<'Collection>
override this.PrepareDataForCollection : seq<'able> -> seq<'Collection>
Public Overridable Function PrepareDataForCollection (items As IEnumerable(Of TTable)) As IEnumerable(Of TCollection)

Parameters

items
IEnumerable<TTable>

The items.

Returns

IEnumerable<TCollection>

The transformed data.

Applies to

PrepareDataForCollection(TTable)

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

public TCollection PrepareDataForCollection (TTable item);
member this.PrepareDataForCollection : 'able -> 'Collection
Public Function PrepareDataForCollection (item As TTable) As TCollection

Parameters

item
TTable

The item.

Returns

TCollection

The transformed item.

Applies to