Class DataModelCollectionLoadExtensions
Extension methods for IDataModelCollectionLoad<TModel>
Inherited Members
Namespace: PnP.Core.Model
Assembly: PnP.Core.dll
Syntax
public static class DataModelCollectionLoadExtensions
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
Declaration
public static Task<IBatchResult> LoadBatchAsync<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, Batch batch, params Expression<Func<TModel, object>>[] expressions)
Parameters
| IDataModelCollectionLoad<TModel> dataModelLoad |
|
Batch
batch
Batch add this request to |
|
Expression<Func<TModel, object>>[]
expressions
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
Declaration
public static Task<IBatchResult> LoadBatchAsync<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, params Expression<Func<TModel, object>>[] expressions)
Parameters
| IDataModelCollectionLoad<TModel> dataModelLoad |
|
Expression<Func<TModel, object>>[]
expressions
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
Declaration
public static IBatchResult LoadBatch<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, Batch batch, params Expression<Func<TModel, object>>[] expressions)
Parameters
| IDataModelCollectionLoad<TModel> dataModelLoad |
|
Batch
batch
Batch add this request to |
|
Expression<Func<TModel, object>>[]
expressions
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
Declaration
public static IBatchResult LoadBatch<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, params Expression<Func<TModel, object>>[] expressions)
Parameters
| IDataModelCollectionLoad<TModel> dataModelLoad |
|
Expression<Func<TModel, object>>[]
expressions
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
Declaration
public static void Load<TModel>(this IDataModelCollectionLoad<TModel> dataModelLoad, params Expression<Func<TModel, object>>[] expressions)
Parameters
| IDataModelCollectionLoad<TModel> dataModelLoad |
|
Expression<Func<TModel, object>>[]
expressions
The properties to select |
Type Parameters
| TModel |