Search Results for

    Show / Hide Table of Contents

    Interface IDataModelGet<TModel>

    Defines the read interface for Domain Model objects that can be read.

    Namespace: PnP.Core.Model
    Assembly: PnP.Core.dll
    Syntax
    public interface IDataModelGet<TModel>
    Type Parameters
    TModel

    Methods

    GetAsync(Expression<Func<TModel, Object>>[])

    Retrieves a Domain Model object from the remote data source, eventually selecting custom properties or using a default set of properties

    Declaration
    Task<TModel> GetAsync(params Expression<Func<TModel, object>>[] expressions)
    Parameters
    Expression<Func<TModel, System.Object>>[] expressions

    The properties to select

    Returns
    Task<TModel>

    The Domain Model object

    GetBatchAsync(Batch, Expression<Func<TModel, Object>>[])

    Batches the retrieval of a Domain Model object from the remote data source, eventually selecting custom properties or using a default set of properties

    Declaration
    Task<IBatchSingleResult<TModel>> GetBatchAsync(Batch batch, params Expression<Func<TModel, object>>[] expressions)
    Parameters
    Batch batch

    Batch add this request to

    Expression<Func<TModel, System.Object>>[] expressions

    The properties to select

    Returns
    Task<IBatchSingleResult<TModel>>

    The Domain Model object

    Extension Methods

    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatchAsync<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.GetBatch<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    DataModelGetExtensions.Get<TModel>(IDataModelGet<TModel>, Expression<Func<TModel, Object>>[])
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer