Method Read
- Namespace
- Skyline.DataMiner.Net.ManagerStore
- Assembly
- SLNetTypes.dll
Read(FilterElement<T>)
Returns the items that match the specified filter.
public List<T> Read(FilterElement<T> filter)
Parameters
filterFilterElement<T>The filter to match.
Returns
- List<T>
The items that match the specified filter.
Remarks
Check GetTraceDataLastCall() in case the operation failed.
Exceptions
- ArgumentNullException
filteris null.- CrudFailedException
The operation failed. Only thrown when ThrowExceptionsOnErrorData is
true.
Read(IQuery<T>)
Returns all the objects matching the query.
public virtual List<T> Read(IQuery<T> query)
Parameters
queryIQuery<T>The query.
Returns
Exceptions
- CrudFailedException
if ThrowExceptionsOnErrorData is
trueand the TraceData contains errors.