[]
Reads data from the request and the source collection.
public static CollectionViewResponse<T> Read<T>(CollectionViewRequest<T> requestData, IEnumerable<T> sourceCollection, Func<ColumnInfo, IEnumerable<object>> dataMapItemsSourceGetter = null)
Type | Name | Description |
---|---|---|
CollectionViewRequest<T> | requestData | The request data |
IEnumerable<T> | sourceCollection | The source collection |
Func<ColumnInfo, IEnumerable<object>> | dataMapItemsSourceGetter | The function to get the items source for the specified column's data map. |
Type | Description |
---|---|
CollectionViewResponse<T> | The response data |
Name | Description |
---|---|
T | The type of data record |