How does data access work IRepository etc¶
Data access works through the IRepository Interface which implements methods which Create, Retrieve, Update, Destroy and Query data.
The IRepository implements a IDataSource interface which in turn has its own methods for inserting and deleting.
Each Item in the IRepository interface has to implement the IAmIdentifiable interface so that the data can be retrieved from the IRepository.