Search Results for

    Show / Hide Table of Contents

    Class DataModelCollectionLoadExtensions

    Extension methods for IDataModelCollectionLoad<TModel>

    Inheritance
    System.Object
    DataModelCollectionLoadExtensions
    Namespace: PnP.Core.Model
    Assembly: PnP.Core.dll
    Syntax
    public static class DataModelCollectionLoadExtensions : object

    Methods

    Load<TModel>(IDataModelCollectionLoad<TModel>, 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, System.Object>>[] expressions

    The properties to select

    Type Parameters
    TModel

    LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, 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, System.Object>>[] expressions

    The properties to select

    Returns
    IBatchResult

    The Domain Model object

    Type Parameters
    TModel

    LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, Batch, 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, System.Object>>[] expressions

    The properties to select

    Returns
    IBatchResult

    The Domain Model object

    Type Parameters
    TModel

    LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, 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, System.Object>>[] expressions

    The properties to select

    Returns
    Task<IBatchResult>

    The Domain Model object

    Type Parameters
    TModel

    LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, Batch, 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, System.Object>>[] expressions

    The properties to select

    Returns
    Task<IBatchResult>

    The Domain Model object

    Type Parameters
    TModel

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer