public async Task Test_Execute_WithoutParameter() { await _fluentEntity .InsertInto(new GenreMock { Id = 1, RowVersion = DateTime.Now, Name = "Drama" }) .ExecuteAsync(); var result = await _daoHelper.ExecuteAsync("DELETE FROM genre"); result.Should().Be(1); }
public async Task <int> ExecuteAsync() { var command = $"{_baseCommand} {_whereHelper.CommandWhere}"; return(await _daoHelper.ExecuteAsync(command)); }
public async Task <int> ExecuteAsync() { return(await _daoHelper.ExecuteAsync <T>(_commands)); }