# Using and code completion

**URL:** https://talk.remobjects.com/t/using-and-code-completion/27933
**Category:** Fire
**Created:** [February 21, 2023, 3:30pm UTC](https://talk.remobjects.com/t/using-and-code-completion/27933 "2023-02-21T15:30:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JohnMoshakis](https://talk.remobjects.com/user_avatar/talk.remobjects.com/johnmoshakis/32/2286_2.png) [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)
#### Post date: [February 21, 2023, 3:30pm UTC](https://talk.remobjects.com/t/using-and-code-completion/27933/1 "2023-02-21T15:30:56Z")

</div>

Hi,

In the following I get unknown identifier connection

```auto
  using connection := new SqlConnection('') do
  begin
    
    var rows := await connection.QueryAsync<Employee>('');
    
  end;

```

 ![Screenshot 2023-02-21 at 10.29.06 AM](https://talk.remobjects.com/uploads/default/original/3X/4/a/4a5a10b5cb96142bbd1ec215031e69a2cd7d97a5.png)

Cheers,  
John  
[ConsoleApplication5.zip](https://talk.remobjects.com/uploads/short-url/n09zCo4sLRfLTleRNLrFN4EBELP.zip) (895.3 KB)

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [February 21, 2023, 8:33pm UTC](https://talk.remobjects.com/t/using-and-code-completion/27933/2 "2023-02-21T20:33:13Z")

</div>

Logged as [bugs://E26421](https://www.remobjects.com/portal/bugs/?id=E26421).
