Table of Contents

Class CrudHelperComponent<T>

Namespace
Skyline.DataMiner.Net.ManagerStore
Assembly
SLNetTypes.dll

A generic component of a helper that provided helper methods for the CRUD of one object.

public class CrudHelperComponent<T> : ICrudHelperComponent<T> where T : DataType

Type Parameters

T

The type.

Inheritance
CrudHelperComponent<T>
Implements
ICrudHelperComponent<T>
Derived
Extension Methods

Fields

ModuleId
TraceDataLastCall

The trace data of the last call.

Properties

MessageHandler

Gets the message handler.

ThrowExceptionsOnErrorData

Gets or sets a value indicating whether the CRUD methods will throw CrudFailedException exceptions.

Methods

CheckTraceData(TraceData)
CheckTraceDataLastCall()
Create(T)

Creates the specified object.

Delete(T)

Deletes the specified item.

GetTraceDataLastCall()

Returns the TraceData from the last call that was made for this CRUD component.

InnerDelete(T, IAdditionalOperationMeta)
InnerPreparePaging(IQuery<T>, long, IAdditionalOperationMeta)
InnerRead(IQuery<T>, IAdditionalOperationMeta)
InnerUpdate(T, IAdditionalOperationMeta)
PreparePaging(IQuery<T>)

Prepares the paging using the specified query and default preferred page size (500).

PreparePaging(IQuery<T>, long)

Prepares the paging using the specified query and preferred page size.

PreparePaging(FilterElement<T>)

Prepares the paging.

PreparePaging(FilterElement<T>, long)

Prepares the paging using the specified filter elements and preferred page size.

Read(IQuery<T>)

Returns all the objects matching the query.

Read(FilterElement<T>)

Returns the items that match the specified filter.

RetrieveCrudResponse(DMSMessage)
RetrieveResponse(DMSMessage)

Retrieves the response.

RetrieveResponse<TResp>(DMSMessage)
Update(T)

Updates the specified item.