public async Task <int> Insert(TEntity entity) { string sql = EntityToSql.AddSql(entity); var result = Convert.ToInt32(await dbHelper.GetSingle(sql)); return(result); }
public async Task <int> Insert(TEntity entity) { string sql = EntityToSql.AddSql(entity); var result = Convert.ToInt32(await dbHelper.GetSingle(sql)); return(result); }