I'd like to do something like this:
Dim pId As TdParameter = New TdParameter With {.ParameterName = "p_id", .SourceColumn = "id", .TdType = TdType.Integer, .Direction = ParameterDirection.Output}
And then go like:
cmd.Parameters.Add(pId);
cmd.CommandText = "insert into employee (id, name, age) values (?, 'bob', 34)"
cmd.ExecuteNonQuery();
And then have pId.Value
return the value of the new record's Id column (which is an identity column). If I could do that, that would be great.