Class DataModelCollectionLoadExtensions
Extension methods for IDataModelCollectionLoad<TModel>
public static class DataModelCollectionLoadExtensions
- Inheritance
-
DataModelCollectionLoadExtensions
- Inherited Members
Methods
LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, Batch, params Expression<Func<TModel, object>>[])
Batches the load of the list from the remote data source, eventually selecting custom properties or using a default set of properties
public static Task<IBatchResult> LoadBatchAsync<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, Batch batch, params Expression<Func<TModel, object>>[] expressions)
Parameters
dataModelLoadIDataModelCollectionLoad<TModel>batchBatchBatch add this request to
expressionsExpression<Func<TModel, object>>[]The properties to select
Returns
- Task<IBatchResult>
The Domain Model object
Type Parameters
TModel
LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, params Expression<Func<TModel, object>>[])
Batches the load of the list from the remote data source, eventually selecting custom properties or using a default set of properties
public static Task<IBatchResult> LoadBatchAsync<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, params Expression<Func<TModel, object>>[] expressions)
Parameters
dataModelLoadIDataModelCollectionLoad<TModel>expressionsExpression<Func<TModel, object>>[]The properties to select
Returns
- Task<IBatchResult>
The Domain Model object
Type Parameters
TModel
LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, Batch, params Expression<Func<TModel, object>>[])
Batches the load of the list from the remote data source, eventually selecting custom properties or using a default set of properties
public static IBatchResult LoadBatch<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, Batch batch, params Expression<Func<TModel, object>>[] expressions)
Parameters
dataModelLoadIDataModelCollectionLoad<TModel>batchBatchBatch add this request to
expressionsExpression<Func<TModel, object>>[]The properties to select
Returns
- IBatchResult
The Domain Model object
Type Parameters
TModel
LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, params Expression<Func<TModel, object>>[])
Batches the load of the list from the remote data source, eventually selecting custom properties or using a default set of properties
public static IBatchResult LoadBatch<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, params Expression<Func<TModel, object>>[] expressions)
Parameters
dataModelLoadIDataModelCollectionLoad<TModel>expressionsExpression<Func<TModel, object>>[]The properties to select
Returns
- IBatchResult
The Domain Model object
Type Parameters
TModel
Load<TModel>(IDataModelCollectionLoad<TModel>, params Expression<Func<TModel, object>>[])
Loads the list from the remote data source, eventually selecting custom properties or using a default set of properties
public static void Load<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, params Expression<Func<TModel, object>>[] expressions)
Parameters
dataModelLoadIDataModelCollectionLoad<TModel>expressionsExpression<Func<TModel, object>>[]The properties to select
Type Parameters
TModel