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

            _context.Wsmy583.Remove(entity);
        }
示例#3
0
 public async Task Add(Wsmy583 entity)
 {
     await _context.Wsmy583.AddAsync(entity);
 }