using System.Collections.Generic; namespace ChadSoft.Data { /// /// A repository of objects /// ///Type of objects being handled in the repository public interface IRepository { /// /// Get all of the current objects. /// ///All of the current objects. IEnumerable GetAll(); /// /// Find the stored objects that meet a particular criteria. /// ///The criteria used to find stored objects ///Objects that meet the criteria IEnumerable Find(ICriteria criteria); /// /// Save an object to the repository /// /// void Save(T obj); } }