Using Get method with HanaConnection and OdbConnection classes I get an error, it seems that the placeholder for the Id in the query (an @, I always have used ? for Hana) is not replaced.
Code:
HanaConnection connection = new HanaConnection("connectionString");
connection.Open();
var invoice = connection.Get<Invoice>(63829);
My Invoice class:
[Table("OINV")]
public class Invoice
{
[ExplicitKey]
public int DocEntry { get; set; }
public string CardCode { get; set; }
public string FakeProperty { get; set; }
}
The error:

Using Get method with HanaConnection and OdbConnection classes I get an error, it seems that the placeholder for the Id in the query (an @, I always have used ? for Hana) is not replaced.
Code:
My Invoice class:
The error: