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
- 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
- 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.
- 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.
- RetrieveResponse(DMSMessage)
Retrieves the response.
- Update(T)
Updates the specified item.