Interface IReadable<T>
This interface provides a minimalistic generic approach to read data from any kind of (persistent) data source.
Namespace: TeleScope.Persistence.Abstractions
Assembly: TeleScope.Persistence.Abstractions.dll
Syntax
public interface IReadable<out T>
Type Parameters
Name | Description |
---|---|
T | The type that is desired on the application side. |
Methods
| Improve this Doc View SourceRead()
Reads a given data source and provides a collection of type T. If there is only one data object a collection with the length one is returned.
Declaration
IEnumerable<T> Read()
Returns
Type | Description |
---|---|
IEnumerable<T> | The resulting data objects of type T. |