External Datasources

IDatasource

The OpenContent Templating system can be used with external datasources.

To create an OpenContent DataSource you just create a class that implements the Satrabel.OpenContent.Components.Datasource.IDataSource interface.

Alternatively you can also inherit from the default abstract class DefaultDataSource (in the same namespace as the interface) that already implements simple (non-optimized, so suitable for small datasets <1000) read queries.