Exemplo n.º 1
0
        public async Task <EThorTestEntity> UpdateAsync(EThorTestEntity entity)
        {
            var result = _db.TestEntities.Update(entity).Entity;

            await _db.SaveChangesAsync();

            return(result);
        }
Exemplo n.º 2
0
 public EntityModel(EThorTestEntity entity)
 {
     _entity = entity;
 }
Exemplo n.º 3
0
 public EntityModel()
 {
     _entity = new EThorTestEntity();
 }