示例#1
0
        public bool AddObject(Drug item, LV.Core.DAL.Base.IRepository repository)
        {
            repository.Add(item);

            return(true);
        }
示例#2
0
        public bool DeleteObject(Drug item, LV.Core.DAL.Base.IRepository repository)
        {
            repository.Update(item);

            return(true);
        }
示例#3
0
 protected override KeyValuePair <string, long> GetKeyForItem(Drug item)
 {
     return(item.Key);
 }