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
filter
FilterElement<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
filter
is 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
query
IQuery<T>The query.
Returns
Exceptions
- CrudFailedException
if ThrowExceptionsOnErrorData is
true
and the TraceData contains errors.