using System; using System.Collections.Generic; namespace TEAMModelOS.SDK.Module.LiteDB.Interfaces { public interface ILiteDBOperator { /// /// /// /// /// /// string Save(T obj) where T : new(); /// /// /// /// /// IList FindAll() where T : new(); /// /// /// /// /// /// int SaveAll(List obj) where T : new(); /// /// /// /// /// /// bool Update(T obj) where T : new(); /// /// /// /// /// /// int UpdateAll(List obj) where T : new(); /// /// /// /// /// /// bool Delete(Object docId); /// /// /// /// /// /// T FindById(dynamic docId) where T : new(); /// /// /// /// /// /// T FindOneByDict(Dictionary dict) where T : new(); /// /// /// /// /// /// /// T FindOneByKey(String key, String value) where T : new(); /// /// /// /// /// /// IList FindListByDict(Dictionary dict) where T : new(); /// /// /// /// /// /// /// IList FindListByKey(String key, String value) where T : new(); /// /// /// /// /// /// /// IList FindListByDictAndLike(Dictionary dict, Dictionary likeDict) where T : new(); /// /// /// /// /// /// /// /// IList FindListByDictAndLikeAndStartWith( Dictionary dict, Dictionary likeDict, Dictionary startDict) where T : new(); /// /// /// /// /// /// /// /// IList FindListByDictAndLikeAndNotEQ(Dictionary dict,Dictionary likeDict,Dictionary notEQDict)where T : new(); } }