Table of Contents

Interface IDataModelSupportingGetChanges

Namespace
PnP.Core.Model
Assembly
PnP.Core.dll

Defines the interface for Domain Model objects that can obtain a change log.

public interface IDataModelSupportingGetChanges

Methods

GetChanges(ChangeQueryOptions)

Gets the list of changes.

IList<IChange> GetChanges(ChangeQueryOptions query)

Parameters

query ChangeQueryOptions

The query.

Returns

IList<IChange>

The list of changes.

Remarks

This does not load the parent object or any properties. It returns a completely separate object.

GetChangesAsync(ChangeQueryOptions)

Gets the list of changes.

Task<IList<IChange>> GetChangesAsync(ChangeQueryOptions query)

Parameters

query ChangeQueryOptions

The query.

Returns

Task<IList<IChange>>

The list of changes.

Remarks

This does not load the parent object or any properties. It returns a completely separate object.

GetChangesBatch(ChangeQueryOptions)

Gets the list of changes.

IEnumerableBatchResult<IChange> GetChangesBatch(ChangeQueryOptions query)

Parameters

query ChangeQueryOptions

The query.

Returns

IEnumerableBatchResult<IChange>

The list of changes.

Remarks

This does not load the parent object or any properties. It returns a completely separate object.

GetChangesBatch(Batch, ChangeQueryOptions)

Gets the list of changes.

IEnumerableBatchResult<IChange> GetChangesBatch(Batch batch, ChangeQueryOptions query)

Parameters

batch Batch

Batch to add this request to

query ChangeQueryOptions

The query.

Returns

IEnumerableBatchResult<IChange>

The list of changes.

Remarks

This does not load the parent object or any properties. It returns a completely separate object.

GetChangesBatchAsync(ChangeQueryOptions)

Gets the list of changes.

Task<IEnumerableBatchResult<IChange>> GetChangesBatchAsync(ChangeQueryOptions query)

Parameters

query ChangeQueryOptions

The query.

Returns

Task<IEnumerableBatchResult<IChange>>

The list of changes.

Remarks

This does not load the parent object or any properties. It returns a completely separate object.

GetChangesBatchAsync(Batch, ChangeQueryOptions)

Gets the list of changes.

Task<IEnumerableBatchResult<IChange>> GetChangesBatchAsync(Batch batch, ChangeQueryOptions query)

Parameters

batch Batch

Batch to add this request to

query ChangeQueryOptions

The query.

Returns

Task<IEnumerableBatchResult<IChange>>

The list of changes.

Remarks

This does not load the parent object or any properties. It returns a completely separate object.