There are three routines in MyMediaLite to load rating feedback and positive-only feedback from a database or other similar kinds of storage:
- IO.RatingData.Read(IDataReader reader, EntityMapping user_mapping, EntityMapping item_mapping)
- IO.ItemData.Read(IDataReader reader, IEntityMapping user_mapping, IEntityMapping item_mapping)
- IO.ItemDataRatingThreshold.Read(IDataReader reader, float rating_threshold, IEntityMapping user_mapping, IEntityMapping item_mapping)
The IDataReader is implemented for example by the DbDataReader class. See the Mono documentation on databases for more information.