コード例 #1
0
 public void Update(Wsmy582 entity)
 {
     _context.Wsmy582.Update(entity).Property(x => x.Id).IsModified = false;;
 }
コード例 #2
0
        public async Task Delete(int id)
        {
            Wsmy582 entity = await GetById(id);

            _context.Wsmy582.Remove(entity);
        }
コード例 #3
0
 public async Task Add(Wsmy582 entity)
 {
     await _context.Wsmy582.AddAsync(entity);
 }