public async Task <int> Insert <T>(T entity) where T : class, new() { string sql = EntityToSql.AddSql <T>(entity); var result = await dbHelper.ExecuteSql(sql); return(result); }
public async Task <int> Insert <T>(T entity) where T : class, new() { string sql = EntityToSql.AddSql <T>(entity); var result = await dbHelper.ExecuteSql(sql); return(result); }