MobileServiceCollection<TTable,TCollection>.PrepareDataForCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
The transformed item.
Applies to
Azure SDK for .NET