コード例 #1
0
        public void Delete(long id)
        {
            ValveGroupMapping item = Get(id);

            _accessor.Delete(item);
        }
コード例 #2
0
 public ValveGroupMapping Insert(ValveGroupMapping entity)
 {
     entity = _accessor.Insert(entity);
     return(entity);
 }
コード例 #3
0
 public ValveGroupMapping Update(ValveGroupMapping entity)
 {
     _accessor.Update(entity);
     return(entity);
 }
コード例 #4
0
        public ValveGroupMapping Get(long id)
        {
            ValveGroupMapping item = _accessor.Get <ValveGroupMapping>(x => x.IsActive && x.Id == id);

            return(item);
        }