using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Peer2PeerMasterServer { interface IDataProvider { /// /// /// /// /// /// T Get(object id) where T : class; /// /// /// /// /// /// T Get(System.Linq.Expressions.Expression> expression) where T : class; /// /// /// /// /// IQueryable Query() where T : class; /// /// /// /// /// T Update() where T : class; /// /// /// /// /// bool Delete() where T : class; /// /// /// /// /// /// bool Delete(IList entities) where T : class; /// /// /// /// /// /// T Add(T item) where T : class; } }